Do interfaces have member variables?
Interfaces may have member variables, but these are implicitly final and static because they are not inherited by extension. In effect interface variables are constants that are available to all implementations and may be used as key references for method arguments for example. Actions: Follow-up, clarify or correct this answer. Submit a new question.
Interfaces may have variable fields but they are implicitly final and static. Interface variables are inherited by any class that implements the interface and are also available as public static variables of the interface. In effect, interface variables are constants that are available to all implementations and may be used as key references for method arguments, for example. Actions: Follow-up or correct this answer. Submit a new question.