设计模式遵循的一般原则: 1.开-闭原则(Open-Closed Principle, OCP):1.开-闭原则(Open-Closed Princ 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交