object-oriented programming

Object-oriented programming is a type of programming where programmers can define not just the data type of a data structure,  but also the different types of operations (or functions) that can be applied to a data structure. Under this model, a data structure is an object which consists of both data and functions.

Programmers can create relationships between different objects. For example, objects can be given characteristics that belong to another object.

Programming languages which support object-oriented programming include Java, C++, Python, Visual Basic .Net, Ruby, and of course JavaScript.