4.3.11.A reference to an object can be cast into a reference to an object of its parent class.
public class MainClass{ public static void main(String[] argv){
MyClass myClass = new MyClass();
MySubclass mySub = new MySubclass();
myClass = mySub;
System.out.println();
}
}
class MyClass{
} class MySubclass extends MyClass{