- % java CountFile testing testing has 70 chars.
- DOS shell (Windows 95/NT)
- C:\> java CountFile testing testing has 71 chars.
- Double click the
CountFile.classfile or drop it on the Java Runner application. The program displays a window prompting you for command-line arguments. Type in the name of the file,
testing, and click the OK button. The program displays the results in a window.testing has 70 chars.Note that
testingmust be in the same folder as Java Runner.