X x = new X(); Y y = new Y(); System.out.println("We have constructed two objects:"); System.out.println(x); System.out.println(y);