OOPs Concepts – Suppose you have two classes “B” and “C” which inherits the class “A” using public derivation…


Suppose you have two classes “B” and “C” which inherits the class “A” using public derivation. Now, you have created a class “D” by inheriting both “B” and “C”. When you tried to access the methods of class “A” using object of “D”, you found an ambiguity problem.

Which of the following will help you solve this problem?

Related Posts

Close Bitnami banner
Bitnami