All that’s left to do is run the program. In the terminal window type the command:
java HelloWorld
When you hit Enter, the program runs and you will see "Hello World!" written to the terminal window.
Well done. You’ve written your very first Java program!


