摘要:
public class TemplateMethodTest { public static void main(String[] args) { AbstractClass abstractClass = new Subclass1(); abstractClass.operation(); / 阅读全文
posted @ 2022-03-08 17:13
剑阁丶神灯
阅读(29)
评论(0)
推荐(0)
摘要:
public class StrategyTest { public static void main(String[] args) {// Zombie zombie = new FlagZombie(); Zombie zombie = new BigHeadZombie(); zombie.d 阅读全文
posted @ 2022-03-08 14:26
剑阁丶神灯
阅读(22)
评论(0)
推荐(0)