Interfaces in Java are usually a mechanism for allowing a number of classes to share a number of methods and constants. It is also one of the best mechanisms for achieving Polymorphism in Java.
So if you are the type that is very familiar with Interfaces before the arrival of Java 8, it would make a great deal of sense to also discover some of the cool stuff Interfaces can now do in Java 8. Let’s dive in.
Continue reading “Interfaces in Java”