Content deleted Content added
m Reverted edits by 195.12.232.246 (talk) (HG) (3.4.10) |
→top: chop intro sentence, prev version was halting |
||
Line 5:
{{Programming paradigms}}
'''Object-oriented programming''' ('''OOP''') is a [[programming paradigm]] based on the concept of "[[Object (computer science)|objects]]", which can contain [[data]] and [[Computer program|code]]
A common feature of objects is that procedures (or methods) are attached to them and can access and modify the object's data fields. In this brand of OOP, there is usually a special name such as [[this (computer programming)|{{code|this|C++}}]] or {{code|self|swift}} used to refer to the current object. In OOP, computer programs are designed by making them out of objects that interact with one another.<ref>{{Cite journal
|