Object-oriented programming: Difference between revisions

Content deleted Content added
WikiCleanerBot (talk | contribs)
m v2.05b - Bot T12 CW#548 - Fix errors for CW project (Punctuation in link - Title linked in text)
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 1:
{{short description|Programming paradigm based on the concept of objects}}
{{Redirect|Object-oriented|other meanings of object-oriented|Object-orientation}}
{{Use dmy dates|date=January 2020}}o
{{Programming paradigms}}
O
 
'''Object-oriented programming''' ('''OOP''') is a [[programming paradigm]] based onooo the concept of "[[Object (computer science)|objects]]", which can contain [[data]] andooand [[Computer program|code]]. The data is in the form of [[Field (computer science)|fields]] (often known as [[Attribute (computing)|attributes]] or ''properties''), and the code is in the form of procedures (often known as ''[[Method (computer science)|methods]]'').
 
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