Question: What is the correct manual order to close database resources with try - catch with resources? Select one: a . Connection then Statement then ResultSet
What is the correct manual order to close database resources with trycatch with resources?
Select one:
a Connection then Statement then ResultSet
b ResultSet then Statement then Connection
c Statement then Connection then ResultSet
d Statement then ResultSet then Connection
e No need to do this manually
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
