What is the importance of oop?
No Answer is Posted For this Question
Be the First to Post Answer
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
The type of variable a pointer points to must be the part of pointer's definition so that:
What is object in oop?
What is destructor in oop?
How do you answer polymorphism?
How to improve object oriented design skills?
Explain virtual inheritance?
WHEN A COPY CONSTER IS CALL ?
when to use 'mutable' keyword and when to use 'const cast' in c++
difine hierarchical inheritance.
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
What is the difference between a constructor and a destructor?