Answer Posted / td
A pure virtual member function is a member function that the
base class forces derived classes to
provide. Normally these member functions have no
implementation. Pure virtual functions are
equated to zero.
class Shape { public: virtual void draw() = 0; };
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How do you define social class?
what is different between oops and c++
Can we create object of interface?
What are the three parts of a simple empty class?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Why is there no multiple inheritance?
What is multilevel inheritance explain with example?
Is data hiding and abstraction same?
What is pointer in oop?
what is the sylabus for priliminaries?
Why do pointers exist?
What is abstraction in oops with example?
Why is oop useful?
What are the benefits of oop?
What is inheritance write a program to show use of inheritance?