Overview of oops
OOPS (C++)
What is object-oriented programming (OOP) system?
· OOP
does not allow the data to flow freely around the system.
· OOP
allows breakdown of a problem into a number of entities called objects.
·
OOP
builds data and functions around the objects.
· Private data become hidden and cannot be accessed by external function.
· Different objects
may communicate with each other through function.
· OOP
can be define as – “Object-oriented programming is an approach that provides a
way of modularizing programs by creating partitioned memory area for both data
and functions that can be used as templates for creating copies of such modules as per requirements”.
Features of object-oriented programming
· It depend on data rather than procedure.
·
Programs
are divided into the objects.
· Functions
that operate on the data of an object are joined together in the data structure.
· Private data
is hidden and cannot be accessed by the external functions.
· Different objects may communicate with each other through function.
· Whenever needed, new
data and functions can be easily added .
·
Follow
bottom-up approach in program design.