A default method in an interface is a method with implementation. A class implementing the interface does not have to implement the default method, which means you can add new methods to an interface without breaking backward compatibility.
- Chapter 10: Interfaces and Abstract Classes
- from Java: A Beginner’s Tutorial, 4th Edition (Updated for Java SE 8)
- Publisher: Brainy Software
- Released: January 2015
what is default method
Share this highlighthttp://www.safaribooksonline.com/a/java-a-beginners/704478/