Blogger

Delete comment from: Java67

Anonymous said...

From Java 8 onwards interface can be used much more than just declaring type hierarchy as what Joshua bloch told in Effective Java. You can now declare static and default method inside interface which is quite powerful as it allows extension of popular interface like Map, or Collection which wasn't possible earlier without breaking all existing implementation.

Sep 28, 2023, 3:49:56 AM


Posted to Java Interface Example Tutorial

Google apps
Main menu