58,454
社区成员
发帖
与我相关
我的任务
分享
List<Student> list = new ArrayList<Student>();
while(rs.next()){
Student student = new Student();
student.setName(rs.getString(1))
}
List<Students> list = new ArrayList<Students>();
while(rs.next()){
list.add(rs.getString(1) )
}