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:
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism