Our first program in T411


Write the program in Notepad

 

 


Compile the program

 

 


Execute the program

 

  • Execute the program by typing java HelloWorld at the command-prompt:

  • This time there was something that printed to the screen: "Hello World!".

  • Why did that happen?
            => Because that was the intent of the program