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
write a program to find 2^n+1 ?
What is an example of genetic polymorphism?
What is the use of oops?
Why we use classes in oop?
Which method cannot be overridden?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can you inherit a private class?
What is polymorphism oop?
Can we create object of interface?
What are functions in oop?
What is object in oop with example?
What are two types of polymorphism?
What is encapsulation in oops?
What are the 4 pillars of oop?
Get me a number puzzle game-program