Saturday, August 27, 2011

Features of Object Oriented Programming


Features of Object Oriented Programming


Objects are the basic building blocks of Object Oriented Programming System. The real world objects have tow characteristics: State and behaviour. For example, human beings have state, such as name, color, age and height and behaviour such as walking and dancing. All the Objects in OOPS are based on real world having a specific state and behaviour.

Object Oriented Programming System consists of the following features:

  1. Encapsulation
  2. Abstraction
  3. Inheritance
  4. Polymorphism