Guest User

Untitled

a guest
Jan 21st, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. jhlee13@arcturus:~/jhlee13-cs121/L2$ javac F.java
  2. jhlee13@arcturus:~/jhlee13-cs121/L2$ java F
  3. Exception in thread "main" java.lang.NoSuchMethodError: main
  4.  
  5.  
  6.  
  7.  
  8. jhlee13@arcturus:~/jhlee13-cs121/L2$ javac G.java
  9. jhlee13@arcturus:~/jhlee13-cs121/L2$ java G
  10. Main method not public.
Add Comment
Please, Sign In to add comment