Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. class test {
  2. { System.out.println("one"); }
  3. static { System.out.println("static one"); }
  4. public static void main(String[] args)
  5. { new test().run(); new test().run(); }
  6.  
  7. private test(){
  8.  
  9. { System.out.println("two"); }}
  10.  
  11. { System.out.println("three"); }
  12.  
  13. static {
  14. System.out.println("static two");
  15. }
  16.  
  17. public void run()
  18. { System.out.println("hmm...");
  19. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement