1public class Main {
2
3 public static void main(String[] args) {
4 System.out.println("Hello, World!");
5 }
6
7}
1public class HelloWorld{
2 public static void main(String []args){
3 System.out.println("Hello World");
4 }
5}
1class Simple{
2 public static void main(String args[]){
3 System.out.println("Hello Java");
4 }
5}
1public class Main {
2 public static void main(String[] args) {
3 System.out.println("Hello, World!");
4 }
5}
1public class PrintHelloWorld
2{
3 public static void main(String[] args)
4 {
5 //This is the print line. Anything in the Quotation Maks will be printed
6 System.out.println("Hello, World!");
7 }
8}
1
2public class HelloWorld
3{
4
5 public static void main (String[] args)
6 {
7 // Ausgabe Hello World!
8 System.out.println("Hello World!");
9 }
10}
1public class Main {
2
3 public static void main(String[] args) {
4 // Print out
5 System.out.println("Hello, World!");
6 }
7
8}
1public class HelloWorld {
2
3 public static void main(String[] args) {
4
5 System.out.println("Hello, World");
6 }
7
8}
9