Java – What are Default Methods I
Java – What are Default Methods I

Java 8 brought a new capability known as default methods into Java interface. This articles guides you how to get the benefit from default methods in interface. Why Default Methods in Interfaces Are Needed Imagine in a situation where if one or more methods are added to the interface, then classes which implemented those interfaces... » read more

Java – What is Functional Interface
Java – What is Functional Interface

To create a functional interface You may come across codes like this ()->{ System.out.println("Hello World"); }, a bracket first then follow by an arrow, if you have ever written JavaScript before, it is known as arrow function in JavaScript. In Java land this is known as functional interface. To create a functional interface, all you... » read more