Java 8 Default Methods in Interfaces

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Default methods in interfaces have been added to support evolvable interfaces: the possibility to evolve published interfaces without disrupting existing (and inaccessible) implementations. With default methods, the interface designers can enlarge the interface beyond the methods that were originally provided, without breaking existing code.

TODO