Q:

Which among the following is true for virtual functions?

0

Which among the following is true for virtual functions?


  1. Prototype must be different in base and derived class
  2. Prototype must be same in base class and derived class
  3. Prototype must be given only in base class
  4. Prototype must have different signature in base and derived class

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).Prototype must be same in base class and derived class

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The virtual functions must be declared and defined... >>
<< Which is must condition for virtual function to ac...