> Online tutorial : java interface modifiers
Showing posts with label java interface modifiers. Show all posts
Showing posts with label java interface modifiers. Show all posts

java interface modifiers

Interface Modifiers
An interface declaration may include interface modifiers:
InterfaceModifiers:
InterfaceModifier
InterfaceModifiers InterfaceModifier
InterfaceModifier:
one of Annotation
public
protected
private
abstract
static
strictfp


The access modifier public is discussed in . Not all modifiers are applicable
to all kinds of interface declarations. The access modifiers protected and
private pertain only to member interfaces within a directly enclosing class declaration
 and are discussed in. The access modifier static pertains only to member interfaces  A compile-time error occurs if the same