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. Incorrect Correct No Answer was selected 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.

Do you have feedback on this lesson? Let us know here
Rate this lesson:

Feedback on this lesson:

Issue found (optional):