Program to write Hello World in Java. below is the Java code to print the basic program of Java
public class JavaHelloWorldProgram {
public static void main(String[] args) {
System.out.print("Hello World!");
}
}
Output
Hello World!
Program to write Hello World in Java. below is the Java code to print the basic program of Java
public class JavaHelloWorldProgram {
public static void main(String[] args) {
System.out.print("Hello World!");
}
}
Output
Hello World!