Java Interview question-15
Question 141: What is the use of default methods in Java?
Interface evolution: They allow adding new methods to interfaces without breaking existing implementations.
Backward compatibility: Default methods enable enhancing interfaces without breaki...
tusharkant.hashnode.dev7 min read