Please enable JavaScript to use CodeHS

AP CSA: MOD-3.C.4

CodeHS Lessons

Declaring references of type T, when S is a subclass of T, is useful in the following declarations— ● Formal method parameters ●     arrays — T[] var ArrayList<T> var

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