YOUR FIRST JAVA PROGRAM: HELLO WORLD

Historically, the first program you write while learning a new programming language is the program Hello World.

To start writing a Java program you could use any plain text editor, such as Notepad, TextEdit, or Sublime Text . The file that contains the Java code must be saved in a file with its name ending in .java.

Enter the following code in the text editor.



>
Latest


EmoticonEmoticon