summaryrefslogtreecommitdiff
path: root/oop/02-non-static-methods/MyApp.java
diff options
context:
space:
mode:
Diffstat (limited to 'oop/02-non-static-methods/MyApp.java')
-rw-r--r--oop/02-non-static-methods/MyApp.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/oop/02-non-static-methods/MyApp.java b/oop/02-non-static-methods/MyApp.java
new file mode 100644
index 0000000..2ebdcae
--- /dev/null
+++ b/oop/02-non-static-methods/MyApp.java
@@ -0,0 +1,13 @@
+
+public class MyApp {
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+ Calculator cal = new Calculator();
+
+ System.out.println(cal.convertFromC2F(100.0));
+ }
+
+}