Learn Java Tutorial For Beginners, Part 40: Java 7 Try With Resources
Description
Get complete courses at http://courses.caveofprogramming.com
A tutorial on a Java 7 language feature that can help simplify code quite a bit; the "try with resources" construct. We'll take a look at an example here in which it actually lets us avoid the horror of nested try-catch blocks, and that certainly can't be bad.