Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jhlee13@arcturus:~/jhlee13-cs121/L2$ javac F.java
- jhlee13@arcturus:~/jhlee13-cs121/L2$ java F
- Exception in thread "main" java.lang.NoSuchMethodError: main
- jhlee13@arcturus:~/jhlee13-cs121/L2$ javac G.java
- jhlee13@arcturus:~/jhlee13-cs121/L2$ java G
- Main method not public.
Add Comment
Please, Sign In to add comment