Q28
In C++, what happens if a derived class redefines a method that is already defined in its base class?
A.
Method in the base class overrides the derived class method
B.
Both methods are available for use
C.
Method in the derived class overrides the base class method
AnswerD.
A compilation error occurs
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board