Java Reference
In-Depth Information
Figure D-10 shows the files in the subdirectory c:\jpfpatpd .
FIGURE D-10 Files in the subdirectory c:\jpfpatpd
To place the compiled code of the program Welcome.java in the subdirectory
c:\jpfpatpd , you can execute the following command, as shown in Figure D-11:
javac Welcome.java
FIGURE D-11 Compile Welcome.java program
The preceding command creates the file Welcome.class , which contains the com-
piled code of
the program Welcome.java and places
it
in the subdirectory
c:\jpfpatpd (seeFigureD-12).
Search WWH ::




Custom Search