Coupon Accepted Successfully!


Preface to Object Oriented Programming

The prime factor in the design of object oriented programming approach is to rectify some of the faults observed in the procedure oriented languages. OOP acts with data as a critical component in program development. It does not allow the data to flow freely around the systems. It ties data to the functions that operate on it and prevents it from accidental change due to external functions. OOP permits us to analyze a problem into a number of items called objects and then assembles data and functions around these items as per Figure. Following are the impressive characteristics of object-oriented programming:

  1. OOP pays more importance to data rather than function.
  2. Programs are divided into classes and their member functions.
  3. OOP follows a bottom-up approach.
  4. New data items and functions can be comfortably added whenever essential.
  5. Data is private and prevented from accessing external functions.
  6. Objects communicate with each other through functions.

Description: 12392.png

Relation between data and member function in OOP

Test Your Skills Now!
Take a Quiz now
Reviewer Name