Content deleted Content added
Made a minor edit |
improved format of reference to NOOP |
||
Line 14:
[[Inheritance (computer science)|Inheritance]] is typically done by grouping objects into ''classes'', and defining [[class (computer science)|class]]es as [[Extension (semantics)|extension]]s of existing classes, and thus grouping classes into ''trees'' or ''lattices'' reflecting behavioral commonality. Although the use of classes is the most popular technique for inheritance, another well-known technique is prototype-based programming.
In statically-typed class-based OO languages (such as [[Java (programming language)|Java]], [[C Sharp (programming language)|C#]], [[C++ (programming language)|C++]] and [[Scala (programming language)|Scala]])
==Critique of class-based models==
|