Please enable JavaScript to use CodeHS

Chapter 9

Inheritance

9.4 super Keyword

Using the super Keyword

Animal Class

Square Class

Apple Pie

Check Your Understanding

  1. Invalid Answer

Exercise: Bank Accounts

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 and other methods from the superclass.