Object-oriented programming is all about inheritance.
See the PApplet
class for an extreme example.
Its superclass is
Java’s Applet
class.
The concept
- inheritance, superclass, subclass
- Substitution principle
- Polymorphism
- The superclass of all classes —
Object