03 2022 档案
摘要:public class ObserveTest { public static void main(String[] args) { NotifyObject1 notifyObject1 = new NotifyObject1(); NotifyObject2 notifyObject2 = n
阅读全文
摘要:public class TemplateMethodTest { public static void main(String[] args) { AbstractClass abstractClass = new Subclass1(); abstractClass.operation(); /
阅读全文
摘要:public class StrategyTest { public static void main(String[] args) {// Zombie zombie = new FlagZombie(); Zombie zombie = new BigHeadZombie(); zombie.d
阅读全文