Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 425 Bytes

coding_problems.md

File metadata and controls

7 lines (4 loc) · 425 Bytes

Coding Problems

The diamond problem

The "diamond problem" (sometimes referred to as the "Deadly Diamond of Death") 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 version of the method does D inherit: that of B, or that of C?