A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. 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?
a. Function overloading only
b. Operator overloading only
c. Both of these are using polymorphism
d. Either function overloading or operator overloading because polymorphism can be applied only once in a program
Answer:Either function overloading or operator overloading because polymorphism can be applied only once in a program
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: