In Java 8, default and static methods were introduced in interfaces to provide a mechanism for adding new methods to interfaces without breaking backward compatibility. Before Java 8, interfaces could only declare abstract methods that had to be impl...
navnitraj.hashnode.dev3 min read
No responses yet.