thank you for the explanation.
I do not have doubt about whether the members of an interface can be static.
What I meant was the member class inn the interface is static by default.
I wrote a sample code
So the inner classes declared inside an an interface are by default static.
Also, enum declarations are not allowed inside static methods or static blocks as well.
It gives compilation error- enum types must not be local.
Is itt similar to how static fields cannot be declared inside a method?