1public class Main {
2
3 public static void main(String[] args) {
4 System.out.println("Hello, World!");
5 }
6
7}
1public static void main(String[] args){
2 System.out.println("Hello World");
3}
1class Simple{
2 public static void main(String args[]){
3 System.out.println("Hello Java");
4 }
5}
1//simple hello world code for Java
2class HelloWorld {
3 public static void main(String[] args) {
4 System.out.println("Hello, World!");
5 }
6}
1class main {
2 public static void main(String[] args) {
3 System.out.println("Hello World!");
4 }
5}
6
1public class Main{public static void main(String args[]){System.out.println("Hello World");}}