Please enable JavaScript to use CodeHS

AP CSA: MOD-3.B.6

CodeHS Lessons

The superclass constructor can be called from the first line of a subclass constructor by using the keyword super and passing appropriate parameters.

12.13 Inheritance
16.2 Writing Constructors for Subclasses
9.2 Writing Constructors for Subclasses