Q33
What is the purpose of the `try-with-resources` statement in Java?
A.
To define JavaBean properties
B.
To execute SQL queries
C.
To automatically close resources like streams, files, or sockets
AnswerD.
To create JavaBeans
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board