Anonymous user
Category:Programming paradigm/Object-oriented: Difference between revisions
Category:Programming paradigm/Object-oriented (view source)
Revision as of 13:56, 24 September 2009
, 14 years agoMoving info from object-oriented language
m (Another link) |
(Moving info from object-oriented language) |
||
Line 3:
Object-oriented programming may be seen as a collection of cooperating objects, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be visualized as an independent little machine with a distinct role or responsibility.
An '''object-oriented programming language''' (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming techniques such as encapsulation, [[inheritance]], interfaces, and [[polymorphism]]. [[Simula]] (1967) is generally accepted as the first language to have the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. [[Smalltalk]] (1972 to 1980) is arguably the canonical example, and the one with which much of the theory of object-oriented programming was developed.
* [[Object-oriented language]]▼
==Citation==
* [[wp:Object_oriented_programming|Wikipedia:Object oriented programming]]
|