In general, classes are refactored to move data or function members to the highest common point in the hierarchy to avoid code duplication.

  • 一般而言,对类进行重构时,需要将数据或函数成员移到继承层次的最高公共点以避免代码重复。
目录 查词历史