Q:

What does a virtual function ensure for an object, among the following?

0

What does a virtual function ensure for an object, among the following?


  1. Correct method is called, regardless of the class defining it
  2. Correct method is called, regardless of the object being called
  3. Correct method is called, regardless of the type of reference used for function call
  4. Correct method is called, regardless of the type of function being called by objects

All Answers

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

(c).Correct method is called, regardless of the type of reference used for function call

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
Virtual functions are mainly used to achieve _____... >>
<< Virtual function is...