Java 8: Interface with static methods instead of static util class
The main purpose of interfaces is to provide a type and a vocabulary of operations (methods) on that type. They’re useful and flexible because they allow multiple implementations, and indeed they are designed to allow implementations that are otherwise unrelated in the class hierarchy. The question asks, Is it right to have an interface that … Read more