Radical Developers welcomes all the visitors to be a member of the team. Come join us. Its all about open-source concept. All Programs are written and tested in MacOS X, Unix, Linux and may not match with the outputs of Turbo C++ in Windows

Saturday, January 22, 2011

Discuss Object Oriented Programming Paradigm.

Object Oriented Programming allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects.  The data of an object can be accessed only by the functions associated with that object. However, functions of one object can access the functions of other objects.
Some of the striking features of object oriented programming 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.
  • Functions 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 functions.
  • New data and functions can be easily added whenever necessary.
  • Follows bottom up approach in program design.

We define object oriented programming as an approach that provides a way of modularizing programs by creating memory area for both data and functions that can be used as templates for creating copies of such modules on demand. Thus, an object is considered to be a partitioned area of computer memory that stores data and set of operations that can access that data. Since the memory partitions are independent, the objects can be used in a variety of different programs without modifications.

No comments:

Post a Comment