Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
9.1.2 Interface Modifiers
An interface declaration may be preceded by interface modifiers:
InterfaceModifiers:
InterfaceModifier
InterfaceModifiersInterfaceModifier
InterfaceModifier: one of
public abstract
The access modifier public is discussed in ยง6.6. A compile-time error occurs if the same modifier appears more than once in an interface declaration.
9.1.2.1 abstract Interfaces
Every interface is implicitly abstract. This modifier is obsolete and should not be used in new Java programs.