Please enable JavaScript to use CodeHS

Chapter 9

Inheritance

9.2 Writing Constructors for Subclasses

super Keyword

The Object Class

Student Subclass

Shape Class

Implicit Call to Super

Check Your Understanding

  1. Invalid Answer

Exercise: Clothing Store

Vocabulary

Term Definition
Super A Java keyword used to refer to the superclass object. In this lesson we saw it used to call the superclass constructor.