Java Programming “Hello World” Application – POFTUT

Java Programming “Hello World” Application


In this tutorial we will look introduction to Java programming language and write our first Java application. Hello World applications are very popular in different programming languages. Generally the first code run by the most of the beginners will be the Hello World example.

Hello World

What is the meaning of Hello World . Our first application is like a newborn baby and shouts to the world as Hello World .

Java Hello World

Following java code will print Hello World statement to the default output which is generally a console.

public class HelloWorld { 
 
    public static void main(String[] args) { 
        // Prints "Hello, World" to the terminal window. 
        System.out.println("Hello, World"); 
    } 
 
}

This code can be compiled and run according to the following tutorials.

http://www.poftut.com/java-basics-comments/

LEARN MORE  How To Check Java Version

Leave a Comment