Java 8 Default Methods in Interfaces: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 5: Line 5:
=Overview=
=Overview=


Default methods in interfaces have been added to support ''evolvable'' interfaces: the possibility to evolve published interfaces without disrupting existing (and inaccessible) implementations.
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=
=TODO=

Latest revision as of 22:20, 22 March 2018

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