The Java 8 solution is to break the last link—an interface can now contain method signatures for which an implementing class doesn’t provide an implementation! So who implements them? The missing method bodies are given as part of the interface (hence default implementations) rather than in the implementing class.
- Chapter 1. Java 8: why should you care?
- from Java 8 in Action: Lambdas, streams, and functional-style programming
- Publisher: Manning Publications
- Released: August 2014
Didn't know that
Share this highlighthttp://www.safaribooksonline.com/a/java-8-in/55903/