A anA = new A();
B aB = new B(1);
C aC = new C(2,3);
System.out.println("A = " + anA);
System.out.println("B = " + aB);
System.out.println("C = " + aC);
A aCast = aC;
System.out.println("aCast = " + aCast);
C anotherC = (C) aCast;
System.out.println("anotherC = " + anotherC);