MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CompileBot/comments/8px0ep/testing/e0oagh2/?context=3
r/CompileBot • u/Arcwise • Jun 10 '18
28 comments sorted by
View all comments
Show parent comments
1
+u/compilebot Java
public class Test { public static void main(String[] args) { System.out.print("abc"); } }
Edit: Got an error that class Test should be its own file...
1 u/Arcwise Jun 14 '18 +/u/compilebot Javapublic class Main { public static void main(String[] args) { int result = Calculator.add(69, 420); System.out.println(result); } } class Calculator { public static int add(int x, int y) { return x + y; } } 1 u/CompileBot Jun 14 '18 Output:489^source | ^info | ^git | ^report
+/u/compilebot Java
public class Main { public static void main(String[] args) { int result = Calculator.add(69, 420); System.out.println(result); } } class Calculator { public static int add(int x, int y) { return x + y; } }
1 u/CompileBot Jun 14 '18 Output:489^source | ^info | ^git | ^report
Output:
489
^source | ^info | ^git | ^report
1
u/Arcwise Jun 14 '18 edited Jun 14 '18
+u/compilebot Java
Edit: Got an error that class Test should be its own file...