News

The default method role offered by interfaces has given new life to the Java Collections Framework. You might consider this role for your own legacy interface-based libraries.
When default methods were introduced in Java 8, some developers thought they would be the same as abstract classes. That’s not true, however, because interfaces can’t have state.