News

You’ll also learn how the interface has evolved in Java 8, with the addition of default and static methods, and in Java 9 with the new private methods.
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.