oops concept is used for?
Answers were Sorted based on User's Feedback
Answer / 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 |
secureity as well as to increase the execution speed by
providing data and functions together with in an object
Is This Answer Correct ? | 9 Yes | 8 No |
Why do we need oop?
What is difference between polymorphism and inheritance?
What is a superclass in oop?
What is abstraction with example?
What is destructor oops?
what is code for call by value and call by reference?
what's the basic's in dot net
What do you mean by variable?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
how does a main() in C++ is different from main() in C?
Why is oop useful?
what is the technical or oop name of object?