Vidyalelo
C++ Programming · Q9

Polymorphism in C++

Programming · C++ Programming · question 9

Q9

In C++, can a derived class have its own definition of a function that is already defined in the base class?

A.
Yes
Answer
B.
No
C.
It depends on the access specifier of the base class function.
D.
It depends on the data type of the base class function.

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board