Sunday 11 March 2012

OBJECT ORIENTED PARADIGM

Object Oriented:

The major objective of object-oriented approach is to eliminate some of the flaws encountered in the procedural approach. OOP treats data as a critical element in the program development and does not allow it to flow freely around the system. It ties data more closely to the functions that operate on it and protects it from unintentional modification by other functions. 00P allows us to decompose a problem into a number of entities called Objects and then build data and functions (known as methods in Java) around these entities. The combination of data and methods make up an object 



The data of an object can be accessed only by the methods associated with that object,
However, methods of one object can access the methods of other objects. Some of the features of object-oriented paradigm are:

• Emphasis is on data rather than procedure.
• Programs are divided into what are known as Objects.
• Data structures are designed such that they characterize the objects.
• Methods that operate on the data of an object are tied together in the data structure.
• Data is hidden and cannot be accessed by external functions.
• Objects may communicate with each other through methods.
• New data and methods can be easily added whenever necessary.

• Follows botrom-up approach in Program design.

Object-Oriented paradigm is the most recent concept among programming paradigms and
still it means differnt things to diffrent people. It's thefore important to have
a working definition of Object-Oriented programming before we proceed further.

Our definition of Object-Oriented paradigm is:
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 on demand. This means that an object is considered to be a partitioned area of computer memory that store data and set of operations that can access that data. Since the memory partition are Independent, the object can be used in a variety of  different programs without modifications.

No comments:

Post a Comment