Answer:
Only a slight problem. You can CD to the correct directory and save the file there, also.
Naming the File
When you get to the "Temp" directory:
- Type the file name into the box.
- The file name should be
Hello.java- For some versions of Notepad you should put quote marks around the file name like this: "Hello.java" even though the quote marks will not be part of the file name.
- Select "Save as all files" by clicking on the little down arrow it the box below the file name box.
- Click on "Save"
Your system is likely to be slightly different. Experiment with different choices until you are able to create a text file that contains the sample Java program.
Fussy, bothersome, irksome, irritating details. Yes, I know... Some people actually like this stuff. But if you can drive a car you can do this. It might take some practice.
QUESTION 18:
So, finally your Java program source file is saved. What must you do to run it?