0
public non-static & non-final allowed
text says "it may only contain public static final variables" but eclipse let's me create a "default int count" for example
2 Réponses
0
Do you have any other information to help us to have a better understanding of your problem, plz. Like the class with the specific line.
0
ooh i got it now. well eclipse let's me write
interface xyz{
public String name = "phil";
}
what i noticed just now is that interface fields will implicitly be final and static