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
Can we create object of interface?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
How do you explain polymorphism?
What are constructors in oop?
What is multilevel inheritance?
What is encapsulation with example?
How oops is better than procedural?
What do you mean by abstraction?
What is variable example?
Why is there no multiple inheritance?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is encapsulation c#?
What is polymorphism programming?
Why is oop better than procedural?
What is data binding in oops?