e01.org

diamond problem

Noun

  • 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
source: Wiktionary mirror (dictionary.db) · licence: CC BY-SA 4.0 (Wiktionary dump) · page

Cite this

"diamond problem". Wiktionary mirror (dictionary.db). CC BY-SA 4.0 (Wiktionary dump). https://en.wiktionary.org/wiki/diamond problem

JSON record · API collection · citation policy