This is where the Open Closed Principle comes into play.
这就是开闭原则一展身手的地方了。
So, did this solution conform to the Open Closed Principle?
那么,这个解决方案遵守了开闭原则么?
Class hierarchy showing violation of Open Closed principle.
违反开发闭合原则的类结构。
Class hierarchy showing violation of Open Closed principle.
违反开发闭合原则的类结构。
应用推荐