单例设计模式的代码 class Single { private int num; public void setNum(int num) { this.num = num; } public int getNum() { r... 2016-04-22/ 1295 次浏览/ Java编程