Ambiguity in hybrid inheritance can be resolved by ____. fill in the blanks.
Answers
Answered by
0
Answer:
The answer of the following question is Use scope resolution operator and Use virtual base class.
Explanation:
Ambiguity in hybrid inheritance can be resolved by the following ways:
The 2 ways to avoid this ambiguity:
- Use scope resolution operator
- Use virtual base class.
- Use scope resolution operator - By using scope resolution operator user can manually specify path of a data member that will be accessed.
2. Use virtual base class - In this method virtual classes used to remove the ambiguity and it used widely in the hybrid inheritance.
Similar questions