terça-feira, 30 de agosto de 2016

Object-oriented programming

From Wikipedia, the free encyclopedia
"Object-oriented" redirects here. For other meanings of object-oriented, see Object-orientation.
"Object-oriented programming language" redirects here. For a list of object-oriented programming languages, see List of object-oriented programming languages.

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known asmethods. A feature of objects is that an object's procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self"). In OOP, computer programs are designed by making them out of objects that interact with one another.[1][2] There is significant diversity of OOP languages, but the most popular ones are class-based, meaning that objects are instances of classes, which typically also determine theirtype.
Many of the most widely used programming languages are multi-paradigm programming languages that support object-oriented programming to a greater or lesser degree, typically in combination with imperativeprocedural programming. Significant object-oriented languages include JavaC++C#PythonPHPRubyPerlDelphiObjective-CSwiftCommon Lisp, and Smalltalk.

( site )


Sem comentários:

Enviar um comentário