list中的list数据怎么取

2024-12-29 19:16:27
推荐回答(1个)
回答1:

String sql = "select A,B,C,D from Persion where scbj = 'A' ";
DAO dao = new DAO();
ArrayList list = new ArrayList();
dao.select(sql, list); //把查出来的数据放到list中了
for(int i=0; i String a=“”;
String b=“”;
String c=“”;
String d=“”;