Java - Try vs Try-with-Resources

Java - Try vs Try-with-Resources

JDK 7 comes with try-with-resources feature which allows automatic closing of resources without explicit finally block leading to minimal code and avoids boilerplate code required for closing of resources...

www.000webhost.com