Question: Question 6 Suppose that a C + D dass D is derived from a base class B . Class B has a public member functian
Question
Suppose that dass is derived from a base class Class has a public member functian Funcl that is dedared to be virtual, and class D reimplements Funci, At execution time, suppose that object is passed to the following function:
vaid Dosomething
I
xFunc;
Within the DoSomething function whuse version of Funco is called?
D'sversion
Both BS version and DSversion
version
Neither as wersion nor E versian
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
