diamond problem
diamond problem · diamond problems
The ambiguity that arises when two classes B and C inherit from A, and a further class…The ambiguity that arises when two classes B and C inherit from A, and a further class D inherits from both B and C, so that if there is a method in A that B and/or C has overridden, and D does not override it, it is unclear which version of the method D should inherit.
Значення
значень: 1The ambiguity that arises when two classes B and C inherit from A, and a further class D inherits from both B and C, so that if there is a method in A that B and/or C has overridden, and D does not override it, it is unclear which version of the method D should inherit.
Походження
So called because a diagram of the classes has a diamond (quadrilateral) shape.So called because a diagram of the classes has a diamond (quadrilateral) shape.
Wiktionary, CC BY-SA 4.0 · source
Форми
множина: diamond problems| Однина | diamond problem |
|---|---|
| Множина | diamond problems |
правильне