New Features in Java There are many new features that have been added in java. There are major enhancement made in Java5,…
Java8 Tutorial
Variable Argument (Varargs): The varrags allows the method to accept zero or muliple arguments. Before varargs either we use overloaded method or…
Java Static Import The static import feature of Java 5 facilitate the java programmer to access any static member of a class…
Type Inference for Generic Instance Creation In Java 7, Java provides improved compiler which is enough smart to infer the type of…
Java Type and Repeating Annotations Java Type Annotations Java 8 has included two new features repeating and type annotations in its prior…
Java Default Methods Java provides a facility to create default methods inside the interface. Methods which are defined inside the interface and…
Java Type Inference Type inference is a feature of Java which provides ability to compiler to look at each method invocation and…
Java Lambda Expressions Lambda expression is a new and important feature of Java which was included in Java SE 8. It provides…
Java 9 Anonymous Inner Classes Improvement Java 9 introduced a new feature that allows us to use diamond operator with anonymous classes.…
Java Nashorn Nashorn is a JavaScript engine. It is used to execute JavaScript code dynamically at JVM (Java Virtual Machine). Java provides…