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
What is meant by multiple inheritance?
#include
What is encapsulation with real life example?
why reinterpret cast is considered dangerous?
program for insertion ,deletion,sorting in double link list
What is inheritance write a program to show use of inheritance?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
write knight tour problem which is present in datastructure
What is interface in oop?
What is the difference between a mixin and inheritance?
Can abstract class have normal methods?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What language is oop?
Prepare me a program for the animation of train
What are the benefits of polymorphism?