Question: Q#1: An important issue in multiple inheritance is the issue of ambiguity. The ambiguity is created in multiple inheritance if the names of functions are

Q#1: An important issue in multiple inheritance is the issue of ambiguity. The ambiguity is created in multiple inheritance if the names of functions are similar in two or more parent classes. The compiler cannot determine which function to execute when the object of the derived class attempts to execute such functions. What do you think what will be the solution for this ambiguity? Try to justify your answer by writing a program of three classes X, Y and Z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
