Object-oriented programming (called object-oriented programming) - programming paradigm where programs are defined using objects - combining elements of the state (ie, data, usually called fields) and behavior (ie, the procedure here: method). Object-oriented computer program is expressed as a collection of such objects that communicate with each other in order to perform tasks.

This approach differs from the traditional procedural programming, where the data and procedures are not directly linked. Object-oriented programming is to make it easier to write, maintain, and reuse programs, or portions thereof.

The concept of object oriented programming first appeared in Simula 67, a language designed for use simulation, created by Ole-Johan Dahl and Kristen Nygaard of Norsk Regnesentral in Oslo. (It is said that they were working on simulations of the behavior of the ship and had trouble mastering all dependencies that affect one another all the ships in the simulation parameters. Then came up with the idea to group the types of ships in the different classes of objects, and each of the classes of the same responsible for defining their own data and behavior.) Later, the concept was refined in the Smalltalk language, developed in Simula at Xerox PARC, but designed as a fully dynamic system in which objects can be created and modified "on the fly" rather than a system based on static programs.

Portal access-detektyw.com wykorzystuje pliki cookies, czyli tzw "ciasteczka". W przypadku braku akceptacji korzystania z plików cookies prosimy o opuszczenie strony.