Java 8 Default Methods in Interfaces: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Java =TODO=") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Java#Java8|Java]] | * [[Java#Java8|Java]] | ||
=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= | =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.