Please enable JavaScript to use CodeHS

AP CSA: MOD-3.C.2

CodeHS Lessons

If S is a subclass of T, then assigning an object of type S to a reference of type T facilitates polymorphism.

12.15 Polymorphism
16.5 Creating References Using Inheritance
9.5 Creating References Using Inheritance
6.15 Polymorphism