composite reuse principle

短语

释义与例句

name
  1. 1.

    a technique by which classes may achieve polymorphic behavior and code reuse by containing other classes that implement the desired functionality instead using inheritance.

    艺术 计算机 工程 数学