摘要:
1、先建立文件(后缀名为properties和config) 2、读取类建立 public class Read{ public static Properties properties = new Properties(); static { tr{ properties.load(new Fil 阅读全文
摘要:
//用户类 public class User{ private int id; public int getId(){ return this.id; } public void setId(int id_){ this.id = id_; } } //测试类 public class Test{ 阅读全文