Report question

Question: Correct way to find rowcount in Java JDBC