Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 641 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 641 Bytes

Hello World

Java program to print "Hello, World!" in Java

Here we will see the basic syntax of a java program In the first program we print Hello, Wolrd!.

Input

//Program to print Hello World

class HelloWorld 
{ //start of class

   public static void main(String[] args) 
   
    { //start of main() method
    
        System.out.println("Hello, World!");//printing Hello World
        
    } //end of main() method
    
} //end of the class

Output

Hello World!

Made with ❤️ and Java