Month: March 2016

Rich Interfaces In Java

Leave a comment
Dev

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-5f2b5ca22f796523482080-i/] in [crayon-5f2b5ca22f79d988042565-i/] or [crayon-5f2b5ca22f79f364791329-i/] in [crayon-5f2b5ca22f7a0257310507-i/] . […]