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 the point of oop?
Can a destructor be called directly?
What is stream in oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
officer say me - i am offered to a smoking , then what can you say
What is polymorphism and example?
What is overloading in oop?
What is the purpose of enum?
What do you mean by overloading?
What is the types of inheritance?
What is the advantage of oop over procedural language?
How to hide the base class functionality in Inheritance?
How can you overcome the diamond problem in inheritance?
what is the sylabus for priliminaries?
What polymorphism means?