February 2014
Beginner
1248 pages
62h 25m
English
You can create your own functional interfaces by ensuring that each contains only one abstract method and zero or more default or static methods. Though not required, you can declare that an interface is a functional interface by preceding it with the @FunctionalInterface annotation. The compiler will then ensure that the interface contains only one abstract method; otherwise, it’ll generate a compilation error.
Read now
Unlock full access