summary refs log tree commit diff stats
path: root/java/code/pkgTwo
diff options
context:
space:
mode:
Diffstat (limited to 'java/code/pkgTwo')
-rw-r--r--java/code/pkgTwo/MyClass.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/java/code/pkgTwo/MyClass.java b/java/code/pkgTwo/MyClass.java
new file mode 100644
index 0000000..ad76398
--- /dev/null
+++ b/java/code/pkgTwo/MyClass.java
@@ -0,0 +1,19 @@
+package pkgTwo;
+import pkgOne.MyInterface;
+
+public class MyClass implements MyInterface {
+    @Override
+    public void methodOne() {
+        System.out.println("Implementation of methodOne");
+    }
+
+    @Override
+    public void methodTwo() {
+        System.out.println("Implementation of methodTwo");
+    }
+
+    @Override
+    public void methodThree() {
+        System.out.println("Implementation of methodThree");
+    }
+}