ResultSet rs = stmt.executeQuery("select count(1) from bulletin_board2");

int count = rs.getInt(0);//여기서 어떻게 해야 됨?


레코드 갯수 구해서 출력하는 프로그램임