你问。。。
如何正确打印“rs”结果
你是说这样的事。。。
if (rs.next()) { int theCount = rs.getInt(1); System.out.println(theCount); }