Java Stream Filter Java stream provides a method filter() to filter stream elements on the basis of given predicate. Suppose you want…
Java8 Tutorial
-
-
Java Base64 Encode and Decode Java provides a class Base64 to deal with encryption. You can encrypt and decrypt your data by…
-
The try-with-resources statement In Java, the try-with-resources statement is a try statement that declares one or more resources. The resource is as…
-
Binary Literals Java added a new feature Binary Literal in Java 7. I allows you to express integral types (byte, short, int,…
-
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.…