go to previous page   go to home page   go to next page

Answer:

You need to run the program. That is the point of all this.


Step 7: Run the Program

Enter the command

java HelloPlanets

to run the program. Actually, java starts the Java virtual machine, which then reads in the file of bytecode HelloPlanets.class, which the virtual machine starts executing.

Warning: The command is java with no "c" at the end.

Warning: Use the filename HelloPlanets with no ".class" at the end.

Run the program with java

Well, that is one way to do it. Experienced users of Windows will be familiar with most of the steps. They will have found this process fairly easy. If you did not, it is merely a matter of practice (or finding a friend.)


QUESTION 11:

Is Pluto a planet?


go to previous page   go to home page   go to next page