When you are done with a Statement object, _______.
A) you should close it and you must close the associated result set as well.
B) you should not close it and should not close the associated result set.
C) you should close it and that automatically closes the associated result set.
D) you should only close the associated result set.
Correct Answer:
Verified
Q23: Oracle is an example of a:
A)Heavyweight Java
Q31: What should be on the class path
Q39: What is one reason why you need
Q40: The _ symbol in the query string
Q44: What is wrong with the following statement?
Q45: If your program needs to look at
Q50: Apache Derby is an example of a:
A)Heavyweight
Q52: What does the execute method return?
A)ResultSet
B)Query
C)RecordSet
D)boolean
Q57: Which Java statement connects to a database
Q75: The _ class has a next method
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents