Can interface be static?
Liam Parker
Updated on January 06, 2026
Static methods in an interface since java8
Since Java8 you can have static methods in an interface (with body). You need to call them using the name of the interface, just like static methods of a class.