Since Java 8, there are default interface method implementations: https://docs.oracle.com/javase/tutorial/java/IandI/defaultme... . You can add any method to interface in backward-compatible way if you also define default implementation.
No comments yet.