9.1.5
Access to Interface Member Names
INTERFACES
InterfaceBody:
{
InterfaceMemberDeclarations
opt
}
InterfaceMemberDeclarations:
InterfaceMemberDeclaration
InterfaceMemberDeclarations InterfaceMemberDeclaration
InterfaceMemberDeclaration:
ConstantDeclaration
AbstractMethodDeclaration
The scope of the name of a member declared in an interface type is the entire body
of the interface type declaration.
9.1.5 Access to Interface Member Names
All interface members are implicitly
public
. They are accessible outside the
package where the interface is declared if the interface is also declared
public
and the package containing the interface is accessible as described in 7.1.
9.2 Interface Members
The members of an interface are those members inherited from direct superinter
faces and those members declared in the interface.
The interface inherits, from the interfaces it extends, all members of those
interfaces, except for fields that it hides and methods that it overrides.
9.3 Field (Constant) Declarations
The materials of action are variable,
but the use we make of them should be constant.
Epictetus (circa 60 A.D.),
translated by Thomas Wentworth Higginson
ConstantDeclaration:
ConstantModifiers Type VariableDeclarator
ConstantModifiers: one of
public static final
186
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved