摘要:
/** * Created by 刘朋程 on 2014-5-22.博客园 */ class GouZaoHanShu { private int age; //私有变量age private String name; //私有变量name ... 阅读全文
摘要:
/** * Created by 刘朋程 on 2014-5-22.博客园 */ class GouZaoHanShu { private int age; //私有变量age private String name; //私有变量name ... 阅读全文
摘要:
/** * Created by 刘朋程 on 2014-5-22. */ class Testprivate { private int age = 18; //私有化age并赋值为18 public void setAge(int age) //设置age范围 ... 阅读全文