Wednesday, February 17, 2016

Make Hello World! Program with Java

1. Write this code on your notepad!

public class HelloWorld!{ 
    public static void main(String []args) {
       System.out.println("Hello World");
    }
} 
2. Then save file and file name must same with class name with type set as All Files and give extension .java behind file name.



No comments:

Post a Comment