Parent Class

noun

say it: “PAIR-unt klass” /ˈpɛrənt klæs/

The class another class inherits from; in class Fighter extends Ship, Ship is the parent class.

What is Parent Class?

Parent class is another name for a base class: the class that a child class inherits from.

In a sentence

  • “Ship is the parent class, so a fix to its fly method helps every fighter too.”

Level: Apprentice · More OOP terms at this level

Updated