Superclass

Noun · Development

Definitions

  1. The parent class from which a subclass inherits its fields and methods. A superclass defines the shared interface and default behavior that all its descendants can use or override. Also called a base class or parent class.

    In plain English: The parent class that other, more specialized classes inherit their basic properties and behaviors from.

    Example: "The superclass handles serialization, so every entity subclass gets JSON export for free."

Related Terms