Month: March 2016

Rich Interfaces In Java

Leave a comment

One of the new features added to Java 8 is default methods. In previous versions of Java, adding a new method to an interface would break existing implementations. This made it very hard to evolve your public API without disrupting your clients. Java 8 now allows implementations of methods in an interface. This was needed because Java 8 introduced many new methods on existing interfaces such as [crayon-60077ed413773953719964-i/] in [crayon-60077ed41377b396290042-i/] or [crayon-60077ed41377c937182259-i/] in [crayon-60077ed41377d777060413-i/] . […]