不能。
你只能用
while(rs.next()) {
a++;
}
或者
Strign sql="select count(*) from firstl";
ResultSet rs = state.executeQuery(sql);
int a = rs.getInt(1);
你只能用
while(rs.next()) {
a++;
}
或者
Strign sql="select count(*) from firstl";
ResultSet rs = state.executeQuery(sql);
int a = rs.getInt(1);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货