Please enable JavaScript to use CodeHS

AP CSA: MOD-3.B.8

CodeHS Lessons

When a subclass’s constructor does not explicitly call a superclass’s constructor using super, Java inserts a call to the superclass’s no-argument constructor.

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