In
Java 8,
interfaces can contain implemented
methods,
static methods, and the so-called "default"
methods (which the implementing classes do not need to override). ... "default"
methods shouldn't
have been allowed in
interfaces at all. You could always use an abstract class for this purpose.Mar 21, 2014
read more >>