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
16.5 Creating References Using Inheritance