about summary refs log tree commit diff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/Another.java5
-rw-r--r--java/Main.java6
2 files changed, 11 insertions, 0 deletions
diff --git a/java/Another.java b/java/Another.java
new file mode 100644
index 000000000000..e431e157336b
--- /dev/null
+++ b/java/Another.java
@@ -0,0 +1,5 @@
+public class Another {
+  public static String whatis() {
+    return "Testing";
+  }
+}
diff --git a/java/Main.java b/java/Main.java
new file mode 100644
index 000000000000..0bfa9ebc2a34
--- /dev/null
+++ b/java/Main.java
@@ -0,0 +1,6 @@
+public class Main {
+  public static void main(String[] args) {
+    System.out.println(System.getProperty("java.class.path"));
+    System.out.println(Another.whatis());
+  }
+}