Examveda
Examveda

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

A. will cause an error message to display

B. will override the base class function

C. will be overridden by the base class function

D. will execute immediately after the base class function executes

Answer: Option B


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block