Hello World Program

IIIT - N Software Geek. Startup Enthusiast. Build for the Future.
Java Code :
public class Main{
public static void main(String[] args){
System.out.println("Hello world");
}
}
public class {.....}Every Java Application must start with theclassdefinition.So the
entry pointfor the java application is themain.public static void main(string[] args{......}this is the main method.Every Application in java must contain the
mainmethod.System.out.println("Hello World");Which helps to print the output on the screen.
Output:

Hello World Program Implementation in C++ and Python




