Submit Article


Object-oriented programming language


Object-oriented programming language (OO language) - the language, built on the principles of object-oriented programming.

At the core concepts of object-oriented programming is the notion of the object - a certain substance, which combines the fields (data) and methods (performed by the object of action).

Example, the object a person can have the field name, surname and methods of eating and sleeping. Accordingly, the program can use the operators Man.Name:="John" and Man.Eat(food).

Features

In modern object-oriented languages the following methods are used:

- Inheritance. Creating a new class of objects by adding new elements (methods). At the moment, object-oriented languages allow you to perform multiple inheritance, ie, combined into one class capabilities of several other classes.

- Encapsulation. Hiding the implementation details, which allows you to make changes to parts of the program without serious consequences for other parts, which simplifies maintenance and modification of software.

- Polymorphism. In some parts of the polymorphism(s) of the parent class are replaced by new, implementing specific actions for the child. Thus, the interface classes remain unchanged, and the implementation of methods with the same name and a set of parameters is different. C polymorphism is closely linked to late binding.

- Classification. Allows you to eliminate many errors at compile time, operations are conducted only on the objects of suitable type.