Computer Science, asked by HUSSAINGHULAM5570, 9 months ago

What Is Diamond Problem In Programming

Answers

Answered by Anonymous
6

Answer:

The "diamond problem" is an ambiguity that arises when two classes B and C inherit from A, and class D inherits from both B and C. If there is a method in A that B and C have overridden, and D does not override it, then which class of the method does D inherit: that of B, or that of C❤

Answered by meghasunnapu
0

Answer:

The "diamond problem" is an ambiguity that arises when two classes B and C inherit from A, and class D inherits from both B and C. If there is a method in A that B and C have overridden, and D does not override it, then which class of the method does D inherit: that of B, or that of C?

Explanation:

Similar questions