Back to Unit

Unit 9: Inheritance

AP Computer Science A — Note Packet

0 of 15 blanks filled

Key Terms

Inheritance

A mechanism that allows one class (the _) to inherit the properties and behaviors of another class (the __________).

Superclass

The more class whose properties and behaviors are inherited; also known as a parent class.

Subclass

The more class that inherits properties and behaviors from a superclass; also known as a child class.

`extends` keyword

The Java keyword used to declare that a class is a of another class, establishing an inheritance relationship.

`super()` call

Used within a subclass constructor to explicitly call a constructor. It must be the _________ statement.

1 / 5