0 4

BIT153 ยท 0 ยท 5 marks

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]

Object Oriented ProgrammingChapter 6: Inheritance and PolymorphismVirtual base class and ambiguity resolution

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...