|
|
|
|
A Java compilation unit is defined in the Java Language Specification as: Notice the subscript "opt", which means optional.CompilationUnit : PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsoptTypeDeclarations : TypeDeclaration TypeDeclarations TypeDeclarationTypeDeclaration : ClassDeclaration InterfaceDeclaration The above means that a Java compilation unit consists of:
|
|
This page was last modified on 02 October, 2007 |