diamond problem

短语

词形变化

diamond problems 复数 diamond problems

释义与例句

n.
  1. 1.

    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.

    计算机

词源

So called because a diagram of the classes has a diamond (quadrilateral) shape.

来源:wiktionary