Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

 

JAVA PROGRAMMING

Running the program

To actually run the program, you must use the Java interpreter, calls java. To do so, pass the class name hello as a command-line argument, as shown here:

c:\>java hello

When the program runs, the following output is displayed:

Hello world, You are welcome.


Previous

Next