Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 7:
If the language supports [[Inheritance (object-oriented programming)|inheritance]], a class can be defined based on another class with all of its state and behavior plus additional state and behavior that further specializes the class. The specialized class is a ''sub-class'', and the class it is based on is its ''superclass''.
In purely object-oriented programming languages, such as [[
==Attributes==
|