Yes. You want the source file Hello.java to be saved in the disk directory that is the default directory for the command prompt window.
The name of the source file should be the same as the name that follows
class in the program (match upper and lower case), and should be given the extension .java
For example, our program contains the line:
so the file name must be Hello.java. When you get to the Temp directory (or whatever default directory you are using):
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 tie your shoes or drive a car you can do this. It might take some practice.
So, finally your Java program source file is saved. What must you do to run it?