Vidyalelo
Computer Science · Q62

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 62

Q62

A function in a derived class that has the same name as a function in the parent class

A.
will override the base class function
Answer
B.
will cause an error message to display
C.
will be overridden by the base class function
D.
will execute immediately often the base class function executes

Answer: Option A

Solution

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