1Z0-811 • Practice Test 10
Free 1Z0-811 practice test — 10 questions with explanations. Set 10. No signup required.
A developer writes a method that reads a file and processes its contents. The method uses a BufferedReader wrapped around a FileReader. Which of the following approaches ensures that both resources are properly closed even if an exception occurs?