A Static method in an Interface is utility or helper method. This is not an object level instance method. Some of the uses of Static method in an Interface are:
- Single Class: There is no need to create a separate Utils class for storing utility or helper methods. We can keep these methods in same interface.
- Encapsulation: With Static methods, complete behavior of a Class is encapsulated in same class. There is no need to maintain multiple classes.
- Extension: It is easier to extend a Class/API. If we extend a collection ArrayList, we get all the methods. We need not extend Collections class also.