Object Oriented Programming (OOP) is an approach to standardize the programs by creating partitioned memory area for both data and function. It has been developed to increase the programmer's productivity and also to overcome the traditional approach of programming.
Procedure oriented programming basically consists of writing a list of instructions for the computer to follow and organising these instructions into groups, known as functions. We normally use flowchart to organise these actions and represent the flow of control from one action to another. In Procedure Oriented Programming, most of functions share global data and data move more openly around the system from function to function.
In contract to these, OOP does not allow data to flow freely from function to function and procedure to procedure. In this system, the complete problem is decomposed into number of entities called objects. Those objects are created and maintained along with a set of related data. These data are so used and maintained that they cannot be changed or edited from other functions or objects. The data of an object can be accessed only by functions associated with that object. However, function of an object can access the function of the other object.
Thus,
The different object oriented programming languages are c++, Java, Small talk, simula-67, Eiffel etc.
Object oriented programming(OOP) is associated with the reusability of data to increase the programmers productivity to overcome the traditional approach of programming. In this system the complete problem is decomposed into number of objects to stop the free flow of data.
No comments:
Post a Comment