Java   View all facts   Glossary   Help
file > source file
Next fileclass file    Upfile    Previous fileJava Archive file   

source file
subjectfact 
source file added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:56.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:56.0
can use the import statement to use the facilities of another package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
has definition A file that contains source codeadded by: JK, reference: Source 2, 2001-10-19 11:37:56.0
has example the file called Demonstrate.java contains the class Demonstrateadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
has extension .javaadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
is a subtopic of How Java Works2001-10-19 11:37:56.0
is a kind of fileadded by: JK, 2001-10-19 11:37:56.0
may contain added by: Doug, 2001-10-19 11:37:56.0
may contain more that one class but only one class can be publicadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
should be in a directory whose name reflects the name of the package to which the source code belongsadded by: JK, modified by: WH, source: Sun Java Tutorial, comment: the source file may be located anywhere, provided its location is specified explicitly or it is found in the source path, 2001-10-19 11:37:56.0
should declare the package to which its class belongs using the package keyword    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
fileis the smallest unit of source code that can be compiled2001-10-19 11:36:43.0