Interface Body and Member Declarations
The body
of an interface may declare members of the interface:
InterfaceBody:
{
InterfaceMemberDeclarationsopt
}
InterfaceMemberDeclarations:
InterfaceMemberDeclaration
InterfaceMemberDeclarations InterfaceMemberDeclaration
InterfaceMemberDeclaration:
ConstantDeclaration
AbstractMethodDeclaration
ClassDeclaration
InterfaceDeclaration
;
The scope of the declaration of a member m declared in or inherited by an
interface type I is the entire body of I, including any nested type declarations.
The body
of an interface may declare members of the interface:
InterfaceBody:
{
InterfaceMemberDeclarationsopt
}
InterfaceMemberDeclarations:
InterfaceMemberDeclaration
InterfaceMemberDeclarations InterfaceMemberDeclaration
InterfaceMemberDeclaration:
ConstantDeclaration
AbstractMethodDeclaration
ClassDeclaration
InterfaceDeclaration
;
The scope of the declaration of a member m declared in or inherited by an
interface type I is the entire body of I, including any nested type declarations.
0 comments:
Post a Comment