explain the concepts of oops?
Answer / ravi kumar soni
Abstraction : Hiding of inner details and showing only what
are required.
Encapsulation : Binding of data and the methods used to
access them. Eg: Classes.
Inheritance : Extending the existing functionaltiy.
Polymorphysim : Change of behavior with context.
Is This Answer Correct ? | 10 Yes | 2 No |
How is polymorphism achieved?
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }
Can an interface inherit a class?
What is the oops and benefits of oops programming?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
What is the difference between a mixin and inheritance?
What is destructor in oop?
What is a mixin class?
What is overriding vs overloading?
How would you stop a class from class from being derived or inherited.
What is basic concept of oop?
What is abstraction in oops?