Object-oriented programming: Difference between revisions

Content deleted Content added
Add internal link
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Add internal link
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Line 145:
 
===Inheritance===
OOP languages 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 ====