diff --git a/.gitignore b/.gitignore index 51eb9644a..12ecf28fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ # Python __pycache__ +*.class diff --git a/java/Another.java b/java/Another.java new file mode 100644 index 000000000..e431e1573 --- /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 000000000..0bfa9ebc2 --- /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()); + } +}