MCQs>IT & Programming>JDBC>You have obtained a ResultSet object named 'rs' after executing the following query: SELECT * FROM CUSTOMER Which loop can you use to return all the records in the ResultSet?
JDBC MCQs
You have obtained a ResultSet object named 'rs' after executing the following query:
SELECT * FROM CUSTOMER
Which loop can you use to return all the records in the ResultSet?
Answer
Correct Answer: while(rs.next())
Explanation:
Note: This Question is unanswered, help us to find answer for this one