Please enable JavaScript to use CodeHS

AP CSA: MOD-3.C.3

CodeHS Lessons

If S is a subclass of T, then a reference of type T can be used to refer to an object of type T or S.

Standard
9.5 Creating References Using Inheritance
Standard
4.15 Polymorphism
Standard
11.6 Creating References Using Inheritance
Standard
6.15 Polymorphism
Standard
12.15 Polymorphism
16.5 Creating References Using Inheritance
Standard
17.5 Creating References Using Inheritance
18.15 Polymorphism
Standard
6.15 Polymorphism