In the previous tutorial we learned the interface changes in java 8. In this guide, we will discuss Stream API which is another new feature… [Read More]
Java 8 Interface Changes – default method and static method
Prior to java 8, interface in java can only have abstract methods. All the methods of interfaces are public & abstract by default. Java 8… [Read More]
Java Functional Interfaces
An interface with only single abstract method is called functional interface. You can either use the predefined functional interface provided by Java or create your… [Read More]
Method References in Java 8
In the previous tutorial we learned lambda expressions in Java 8. Here we will discuss another new feature of java 8, method reference. Method reference… [Read More]
Java Lambda Expressions Tutorial with examples
Lambda expression is a new feature which is introduced in Java 8. A lambda expression is an anonymous function. A function that doesn’t have a… [Read More]
Java 8 – Get Current Date and Time
In the past we learned how to get current date and time in Java using Date and Calendar classes. Here we will see how can… [Read More]
Lambda Expression – Iterating Map and List in Java 8
I have already covered normal way of iterating Map and list in Java. In this tutorial, we will see how to iterate (loop) Map and… [Read More]