Advertisement
JeffGrigg

Recursive Initializer

Dec 4th, 2018
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.21 KB | None | 0 0
  1. public class A {
  2.     {
  3.         System.out.println("nsb");
  4.         A a1 = new A();
  5.     }
  6.  
  7.     public static void main(String[] args) {
  8.         System.out.println("Hello World!");
  9.         A a = new A();
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement