java 设计模式举例说明

1,单例设计模式设计模式 package org.test;函数 class A {ui     private final static A a=new A();this     private A(){spa        System.out.println("私有构造函数");设计     }代理     public static A getInstance(){get        r
相关文章
相关标签/搜索