Upcast a subtype into a supertype variable
Upcast a subtype into a supertype variable
Answer
Shape s = new Circle();
Implicit, always-safe upcast. `s`'s static type is `Shape`, so only `Shape` members are callable through it, even though the object is a `Circle`.