Subclasses, Inheritance, and Polymorphicsm |
• Inheritance is a major feature distinguishing an OOP from other programming; • Subclassing is a sharing mechanism that permits code and representation to be inherited; • The ability of different objects to respond differently to the same message is polymorphism.
![]() |
![]() ![]() ![]() |