Object Oriented Programming

programming2In recent years, object-oriented programming has emerged as the dominant computer programming style, and object-oriented languages such as C++ and Java enjoy wide use in academia and industry. Object-oriented languages dominate procedural languages in certain software-engineering categories, but not in others. Further progress may involve adapting and reintroducing principles that are already well understood and widely exploited in procedural languages.

Object-oriented software is all about objects. An object is a “black box” which receives and sends messages. A black box actually contains code (sequences of computer instructions) and data (information which the instructions operates on). Traditionally, code and data have been kept apart.

Not so for object-oriented software! In oop (object-oriented programming), code and data are merged into a single indivisible thing — an object. This has some big advantages.

Comments are closed.