Object-oriented programming

object-orientedobject orientedobject-oriented programming languageobject oriented programmingobject-oriented languageOOPobjectobjectsobject orientationobject system
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 as methods.wikipedia
1,467 Related Articles

Method (computer programming)

methodmethodsinstance method
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 as methods. 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").
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
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 their type. Languages that support object-oriented programming typically use inheritance for code reuse and extensibility in the form of either classes or prototypes.
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 computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

C++

C++ programming languageC++ standardC++ language
C++, C#,
It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.

Instance (computer science)

instanceinstancesinstantiated
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 their type.
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 3
Python,
It supports multiple programming paradigms, including object-oriented, imperative, functional and procedural, and has a large and comprehensive standard library.

Object Pascal

DelphiBorland DelphiDelphi programming language
Object Pascal,
Object Pascal refers to a branch of object-oriented derivatives of Pascal, mostly known as the primary programming language of Delphi.

C Sharp (programming language)

C#Visual C#C# programming language
C++, C#,
C# (pronounced C sharp) is a general-purpose, multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

Objective-C

CategoryObjective-C categories#Import
Objective-C,
Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.

Smalltalk

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

JavaScript

JSclient-side JavaScriptserver-side JavaScript
JavaScript,
As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative (including object-oriented and prototype-based) programming styles.

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.

Dart (programming language)

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

Object (computer science)

objectobjectsdata object
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 as methods. 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 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

LispLisp-2ABCL
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++, Object Pascal, Java, Python etc.) are multi-paradigm programming languages that 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.

PHP

PDOPHP programming languageP'''HP
PHP,
On July 14, 2004, PHP 5 was released, powered by the new Zend Engine II. 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.

Inheritance (object-oriented programming)

inheritancesubclasssuperclass
Languages that support object-oriented programming typically use inheritance for code reuse and extensibility in the form of either classes or prototypes.
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 languageparadigm
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 as methods. 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"). Many of the most widely used programming languages (such as C++, Object Pascal, Java, Python etc.) are multi-paradigm programming languages that support object-oriented programming to a greater or lesser degree, typically in combination with imperative, procedural programming.
object-oriented which groups instructions together with the part of the state they operate on,

Prototype-based programming

prototype-basedprototypeprototypes
Languages that support object-oriented programming typically use inheritance for code reuse and extensibility in the form of either classes or prototypes.
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)

constructorconstructorscopy 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
Variables that can store information formatted in a small number of built-in data types like integers and alphanumeric characters. This may include data structures like strings, lists, and hash tables that are either built-in or result from combining variables using memory pointers
In object-oriented programming, pointers to functions are used for binding methods, often using what are called virtual method tables.

Subroutine

functionfunctionssubroutines
Procedures – also known as functions, methods, routines, or subroutines – that take input, generate output, and manipulate data. Modern languages include structured programming constructs like loops and conditionals.
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 may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. 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 object-oriented programming, field (also called data member or member variable) is the data encapsulated within a class or object.