Saturday, 16 May 2015

Object Oriented Paradigm

The major objectives 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. OOP 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 ab 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 in 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 structures.
  • Data is hidden and cannot be accessed by external functions.
  • New data and methods can be easily added, whenever necessary.
  • Follows bottom-up approach in program design.

Definition of  Object Oriented Paradigm:


                                               OOP 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.

0 comments:

Post a Comment

Scribe to Youtube Channel

Advertisement

Find Us On Facebook

C Programming

More

C++ Tutorial

More

Java Tutorial

More

software engineering

More

MS Office

More

Database Management

More
Top