Discuss the key features of Object Oriented Programming
The key features of the OOP are,
- Data Abstraction
- This meaning is hide the implementation details and represent the important details.This Will separate interface and implementation.
- Encapsulation
- This describe the idea of bundling data and methods that work on that data within one unit. For example class in Java.
- Information Hiding
- The process of hiding details of an object or function. This reduce complexity of the program.
- Inheritance
- This will enable new objects to take from properties of another class.
- Polymorphism
- Polymorphism is ability to redefine methods for derived classes.
Comments
Post a Comment