0 / 60 seg.

What is the advantage of using try-with-resources over the traditional try-catch-finally block when working with files in Java?