Object-oriented programming: Difference between revisions

Content deleted Content added
Inheritance: Small WP:COPYEDIT WP:EoS WP:TERSE: cut needless words repeat. WP:LINKs: update-standardize, add.
Inheritance: A bit redundant to note diversity
Line 145:
 
===Inheritance===
OOP languages are diverse, but typically allow [[Inheritance (object-oriented programming)|inheritance]] for code reuse and extensibility in the form of either [[Class (computer programming)|classes]] or [[Prototype-based programming|prototypes]]. These forms of inheritance are significantly different, but analogous terminology is used to define the concepts of ''object'' and ''instance''.
 
==== Class-based ====