write. any four features of oop
Answers
Answered by
1
Answer:
hope you like it... please mark me as brainliest
Explanation:
There are 4 major principles that make an language Object Oriented. These are Encapsulation, Data Abstraction, Polymorphism and Inheritance. These are also called as four pillars of Object Oriented Programming
Answered by
1
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