Q:

If 2 classes derive one base class and redefine a function of base class, also overload some operators inside class body. Among these two things of function and operator overloading, where is polymorphism used?

0

If 2 classes derive one base class and redefine a function of base class, also overload some operators inside class body. Among these two things of function and operator overloading, where is polymorphism used?


  1. Function overloading only
  2. Operator overloading only
  3. Both of these are using polymorphism
  4. Either function overloading or operator overloading because polymorphism can be applied only once in a program

All Answers

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

 (d).Either function overloading or operator overloading because polymorphism can be applied only once in a program

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

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which among the following best describes encapsula... >>
<< Which among the following is not true for polymorp...