Introduction to the object-oriented

 Introduction to the object-oriented

Object-oriented programming – As the name suggests uses objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.

Object-Oriented Programming (OOP) is the term used to describe a programming approach based on objects and classes. The object-oriented paradigm allows us to organize software as a collection of objects that consist of both data and behavior. This is in contrast to conventional functional programming practice that only loosely connects data and behavior.

Since the 1980s the word 'object' has appeared in relation to programming languages, with almost all languages developed since 1990 having object-oriented features. Some languages have even had object-oriented features retro-fitted. It is widely accepted that object-oriented programming is the most important and powerful way of creating software.

The object-oriented programming approach encourages:
  • Modularisation: where the application can be decomposed into modules.
  • Software re-use: where an application can be composed of existing and new modules.
An object-oriented programming language generally supports five main features:
  • Classes
  • Objects
  • Classification
  • Polymorphism
  • Inheritance

Object Oriented Programming is a paradigm that provides many concepts such as inheritance, data binding, polymorphism etc.

Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects.

Comments