Question: Which language feature ensures that objects implementing the `AutoCloseable` interface are closed when it completes?
- try-catch-finally
- try-finally-close
- try-with-resources
- try-catch-close
Answer: The correct answer of the above question is Option C:try-with-resources