> class declaration java ~ Online tutorial

class declaration java

Class Declaration
A class declaration specifies a new named reference type. There are two kinds of
class declarations - normal class declarations and enum declarations:
ClassDeclaration:
NormalClassDeclaration
EnumDeclaration
NormalClassDeclaration:
ClassModifiersopt class Identifier TypeParametersopt Superopt
Interfacesopt ClassBody


1)The rules in this section apply to all class declarations unless this specification
explicitly states otherwise. In many cases, special restrictions apply to enum declarations.
Enum declaration are described in detail in .
The Identifier in a class declaration specifies the name of the class. A compile-
time error occurs if a class has the same simple name as any of its enclosing
classes or interfaces.

discount 25% for this book

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: