OBJECT ORIENTED PARADIGM
The major objective of object oriented approach is to eliminate some of the errors occured in the procedural approach oop trends data as a important elements in the program development and doesn't allow it to flow freely arround the system. It binds the date more closely to the functions that operates on it and protects it from unintentional modification by other functions
Object Oriented Paradigm (OOP) allow us to devide a problem into number of entities called objects and them build data and methods from on object. The data of an object can be accessed only by the methods associated with that object the method of an object can access the methods of other object.
Some of the features of object oriented approaches are:
(1) Exphasis is on data rather than procedure .
(2) Programs are devided into entities known as object.
(3) Data structure are designed such that they characterize the object.
(4) Methods that operates on the data of an objec are tied together in the data structure.
(5) Data is hidden and can't be accessed by external functions.
(6) Objects may communicate with each other through methods.
(7) New data and communicated can be easilly added when over necessary.
(8) Follows bottom up approach in program design.
No comments: