Object-oriented programming

object-orientedobject orientedobject-oriented programming languageobject oriented programmingobject-oriented languageOOPobjectsobjectobject orientationobject system
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).wikipedia
1,472 Related Articles

Method (computer programming)

methodsmethodabstract method
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
A method in object-oriented programming (OOP) is a procedure associated with a message and an object.

Class-based programming

class-basedclass definedclass-based inheritance
OOP languages are diverse, but the most popular ones are class-based, meaning that objects are instances of classes, which also determine their types. Object-oriented programming that uses classes is sometimes called class-based programming, while prototype-based programming does not typically use classes.
Class-based programming, or more commonly class-orientation, is a style of Object-oriented programming (OOP) in which inheritance occurs via defining classes of objects, instead of inheritance occurring via the objects alone (compare prototype-based programming).

Java (programming language)

JavaJava programming languageJava language
Java,
Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible.

C++

C++ programming languageC++98C with Classes
C++,C#,
The language has expanded significantly over time, and modern C++ has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

JavaScript

Server-side JavaScriptclient-side JavaScriptJS
JavaScript,
JavaScript, often abbreviated as JS, is a high-level, just-in-time compiled, object-oriented programming language that conforms to the ECMAScript specification.

Instance (computer science)

instanceinstancesinstantiated
OOP languages are diverse, but the most popular ones are class-based, meaning that objects are instances of classes, which also determine their types.
In object-oriented programming (OOP), an instance is a concrete occurrence of any object, existing usually during the runtime of a computer program.

Python (programming language)

PythonPython programming languagePython 2
Python,
Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Object Pascal

DelphiDelphi programming languageDCU
Object Pascal,
Object Pascal is an extension to the Pascal programming language that provides object-oriented features such as classes and methods.

Objective-C

Objective-C++Objective CCategory
Objective-C,
Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.

C Sharp (programming language)

C#Visual C#C# programming language
C++,C#,
C# (pronounced see sharp, like the musical note C♯, but written with the number sign) is a general-purpose, multi-paradigm programming language encompassing strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

Smalltalk

Smalltalk-72ObjectStudioSmalltalk programming language
Smalltalk.
Smalltalk is an object-oriented, dynamically typed reflective programming language.

Dart (programming language)

DartDart programming languageECMA-408
Dart,
Dart is an object-oriented, class defined, garbage-collected language using a C-style syntax that transcompiles optionally into JavaScript.

Scala (programming language)

ScalaScala programming languageScala.js
Scala,
Like Java, Scala is object-oriented, and uses a curly-brace syntax reminiscent of the C programming language.

Object (computer science)

objectobjectsdata object
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
In the class-based object-oriented programming paradigm, object refers to a particular instance of a class, where the object can be a combination of variables, functions, and data structures.

Common Lisp

QuicklispANSI Common LispArmed Bear Common Lisp
Common Lisp,
It supports a combination of procedural, functional, and object-oriented programming paradigms.

Imperative programming

imperativeimperative programming languageimperative language
Many of the most widely used programming languages (such as C++, Java, Python, etc.) are multi-paradigm and they support object-oriented programming to a greater or lesser degree, typically in combination with imperative, procedural programming.
The concepts behind object-oriented programming attempt to extend this approach.

Inheritance (object-oriented programming)

inheritancesuperclasssubclass
Languages that support classes almost always support inheritance.
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation.

Programming paradigm

Multi-paradigmmulti-paradigm programming languageprogramming paradigms
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods). Many of the most widely used programming languages (such as C++, Java, Python, etc.) are multi-paradigm and they support object-oriented programming to a greater or lesser degree, typically in combination with imperative, procedural programming.
For example, programs written in C++, Object Pascal or PHP can be purely procedural, purely object-oriented, or can contain elements of both or other paradigms.

PHP

PHP5PDOPHP programming language
PHP,
PHP 5 included new features such as improved support for object-oriented programming, the PHP Data Objects (PDO) extension (which defines a lightweight and consistent interface for accessing databases), and numerous performance enhancements.

Prototype-based programming

prototype-basedprototypeprototypes
Object-oriented programming that uses classes is sometimes called class-based programming, while prototype-based programming does not typically use classes.
Prototype-based programming is a style of object-oriented programming in which behaviour reuse (known as inheritance) is performed via a process of reusing existing objects

Constructor (object-oriented programming)

Constructor (computer science)constructorscopy constructor
Objects are created by calling a special type of method in the class known as a constructor.
In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object.

Trait (computer programming)

traitsTraitTraits class
In some languages classes and objects can be composed using other concepts like traits and mixins.
In computer programming, a trait is a concept used in object-oriented programming, which represents a set of methods that can be used to extend the functionality of a class.

Pointer (computer programming)

pointerpointerspointer arithmetic
Objects are accessed somewhat like variables with complex internal structure, and in many languages are effectively pointers, serving as actual references to a single instance of said object in memory within a heap or stack.
In object-oriented programming, pointers to functions are used for binding methods, often using what are called virtual method tables.

Subroutine

functionfunctionssubroutines
The discipline of object-oriented programming is based on objects and methods (which are subroutines attached to these objects or object classes).

Field (computer science)

fieldsfielddata fields
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
In object-oriented programming, field (also called data member or member variable) is the data encapsulated within a class or object.