A good answer might be:Compile it into Java bytecode, then run the bytecode with the Java interpreter. |
Running the Program
To do all that,
find the DOS command window you started up a while back.
It should still be positioned in the C:\Temp directory.
To check that you put the source file ("Hello.java") in this
directory, enter the command
To compile the source file (thereby producing a file of bytecodes)
enter the command C:\TEMP>javac Hello.java compiling: Hello.java C:\TEMP>java Hello Hello World! C:\TEMP> |
QUESTION 14:After all of this, what did the Java program actually do? Click Here after you have answered the question |