Subclass:A subclass is a class that inherits properties and behaviors from another class (superclass).
Inheritance:Inheritance is an object-oriented concept where one class (subclass) derives properties and behaviors from another class (superclass).
Polymorphism:Polymorphism allows objects of different classes to be treated as objects of a common superclass, enabling flexibility and code reusability.