write four. features of. object oriented. programming
Answers
Answered by
3
Answer:
There are three major features in object-oriented programming that makes them different than non-OOP languages: encapsulation, inheritance and polymorphism.
Answered by
2
The four features of object oriented programming are :-
- Data abstraction- Data abstraction is the act of representing the essential features without knowing the background details it is always relative to the purpose or user.
- Encapsulation - The system of wrapping data and functions into a single unit (called class) is known as Encapsulation.
- Inheritance - The term inheritance means to link and share some common properties of one class with the other class. This can be done by extending the object of one class in another class and using through it.
- Polymorphism - Polymorphism is the process of using of function/method for more than one purpose. The function overloading is also a process to create a number of functions/methods with the same name but with different parameters that match of the methods name and execute.
Similar questions