摘要:
1 abstract class AbstractClass 2 { 3 public abstract void PrimitiveOperation1(); 4 5 public abstract void PrimitiveOperation2(); 6 7 public void TemplateMetho... 阅读全文
posted @ 2019-07-04 22:31
yixiu868
阅读(188)
评论(0)
推荐(0)
摘要:
1 public interface Component { 2 3 void operation(); 4 } 1 public class ConcreteComponent implements Component { 2 3 @Override 4 public void operation() { 5 System.out.println... 阅读全文
posted @ 2019-07-04 22:08
yixiu868
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号