Java Reference
In-Depth Information
Step 3. Understand Files and Folders
As a programmer, you will write Java programs, try them out, and improve them.
Your programs are kept in files. A file is a collection of items of information that are
kept together, such as the text of a word-processing document or the instructions of a
Java program. Files have names, and the rules for legal names differ from one
system to another. Some systems allow spaces in file names; others don't. Some
distinguish between upper- and lowercase letters; others don't. Most Java compilers
require that Java files end in an extensionȌ .java ; for example, Test.java . Java
file names cannot contain spaces, and the distinction between upper- and lowercase
letters is important.
Figure 9
Nested Folders
Search WWH ::




Custom Search