Q:

Which is the correct condition for function overriding?

0

Which is the correct condition for function overriding?


  1. The declaration must not be same in base and derived class
  2. The declaration must be exactly the same in base and derived class
  3. The declaration should have at least 1 same argument in declaration of base and derived class
  4. The declaration should have at least 1 different argument in declaration of base and derived class

All Answers

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

 (b).The declaration must be exactly the same in base 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
Exactly same declaration in base and derived class... >>
<< Which among the following best describes member fu...