0

Which one is correct?

In order to prevent duplicate recordset in child class, we.. a. Define base class as virtual (multiple inheritance. b. define virtual function in the base class c. make or define Virtual functions in the base class. d. All option is correct. Note: please tell me the difference of option B and C? I got this question fee Times. At first I choose option D and sololearn flagged it as right or correct. Latest, eventhough I choose option D as my answer, sololearn flags my answer as false:) could you or sololearn please explain me?

24th Mar 2022, 10:18 PM
Oliver Pasaribu
Oliver Pasaribu - avatar
2 Answers
0
In common sense all the four options are correct but if it's a quiz then the answer may have been changed to the most appropriate option
26th Mar 2022, 9:42 PM
Nanda Srikanth S K Nanda
Nanda Srikanth S K Nanda - avatar
0
Make constructor of base class as virtual i think.. Option A..
16th May 2022, 3:13 AM
Mihir Lalwani
Mihir Lalwani - avatar