摘要:
int [] numbers = {10, 20, 30, 40, 50}; for(int x : numbers ){ System.out.print( x ); System.out.print(","); } 阅读全文
摘要:
1.将对象(集合)转化为json字符串: 对象: User u1 = new User(1,"tom","123456"); String js = JsonObject.ToJsonString(u1); sout(js); 集合: List<User> list = new List<User> 阅读全文