Can interface be static?
Olivia House
Updated on March 16, 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.