default method
An interface method with a body, marked default, inherited by every implementing class.
A public instance method declared default in an interface; class methods beat it, a more specific interface's default beats it, and unrelated defaults must be resolved by an override (X.super.m()).
Examples
default String describe() { return "area " + area(); }inside an interface.
See also