Object Oriented Programming05 marksVirtual base class and ambiguity resolution
What is meant by ambiguity? Explain ambiguity in multiple inheritance and its solution with example.
What is meant by ambiguity? Explain ambiguity in multiple inheritance and its solution with example. [5]
Ambiguity refers to a situation in object-oriented programming where the compiler is unable to determine which version of a function or member to use when the same name exists in more than one base class or path. It creates confusion during compilation and results in a compile-time error if not r...