In Java 7 interfaces, we have declarations only. Although we have static and instance methods, we don’t have implementations for interfaces. Because of which we won’t be able to achieve Multiple Inheritance through these interfaces. But in Java 8, interfaces have default implementations along with declarations. It cannot have constructors and member variables. Java 8 … Continue reading Exploring Multiple Inheritance Using Java 8 Interfaces.
Hello world! In this post, we’ll explore Programming with Java 8. To begin with, I’ll talk about Lambda expression, a key feature of Java 8. Lambda expressions facilitate functional programming into Java. In Java, anonymous inner classes provide a way to implement classes that may occur only once in an application. By creating the class … Continue reading Venturing Into Programming with JAVA 8