Answer Posted / yj
OOP concepts were introduced to overcome the limitations of POP(Procedure Oriented Programming). The first and foremost aim of OOP was to secure the data by encapsulating it in class and providing the only way to access them i.e., through functions which are in the same class.
Secondly, it reduces the complexity.
Thirdly, it reuses the code and hence uses memory efficiently.
There are 3 main OOP concepts :
1. Encapsulation.
2. Polymorphism.
3. Inheritance.
| Is This Answer Correct ? | 34 Yes | 1 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
What is property in oops?
Can abstract class have normal methods?
What is new keyword in oops?
What is abstraction in oops with example?
What is polymorphism used for?
Where You Can Use Interface in your Project
What is the problem with multiple inheritance?
What is polymorphism in oop example?
What is static modifier?
what are the realtime excercises in C++?
What is the types of inheritance?
What is class in oop with example?
Why is there no multiple inheritance?
What is the main feature of oop?