[Solved] Why can I define only default and static methods inside a java interface? [duplicate]


The reason we have default methods in interfaces is to allow the developers to add new methods to the interfaces without affecting the classes that implements these interfaces.
Here is link for complete article.

0

solved Why can I define only default and static methods inside a java interface? [duplicate]