Java 8 – new features and enhancements with examples

Java 8 – new features and enhancements with examples

Java 8 introduced lot of exiting new features and enhancements which are useful for developers . This article covers these features ( functional interfaces, lambda expression, method reference, Stream API, default and static methods in interface and more ) with short and simple examples.

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