*The fundamental idea behind OOP is to combine both data and functions that operate on that data into a single unit.Such a unit is called an object.
*A OOP program consists of a number of objects.The data of an object can be accessed by the function associated with that objects.
Features of OOP:-
*Emphasis is on data rather than procedure.
*Programs are divided into as objects.
*Data is hidden and cannot be accessed by the external function.
*Object may communicate with each other through function.
*New data and functions can be easily added whenever necessary.
*Program design is bottom-to-top approach.
0 comments:
Post a Comment