Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The object class is a blueprint or template for creating objects in object-oriented programming. It defines the properties and behaviors that an object of that class will have.
Inheritance is when one class inherits the properties and behaviors of another class. For example, a "Car" class can inherit from a more general "Vehicle" class.
Polymorphism refers to the ability of an object to take on many forms. It allows different classes to be used interchangeably through inheritance or interfaces.