https://docs.oracle.com/javase/tutorial/java/IandI/interfaceDef.html
Ref: Why can't I declare static methods in an interface?
The oracle documentation says you can declare the static method in interface, but if i try to do it in IDE it throws me error. While other posts show that we cannot declare static methods in java? What is correct?
what I am doing wrong?