Best Practices in Java 8

Summary: Read More: Using Default Methods in Interfaces The ability to specify default method implementations in interfaces was added into JDK 8 so that collections could evolve without breaking backward compatibility. Previously, we couldn’t just add a method to an interface without requiring all the implementing subclasses to specify an implementation of the new method. …

Best Practices in Java 8 Read More »