Hello Java
by 개발자   2024-02-06 22:09:59   조회수:452

1. Simple.java


class Simple{  

    public static void main(String args[]){  

     System.out.println("Hello Java");  

    }  

}  


2. To compile:

javac Simple.java


3. To execute:

java Simple


4.Output:

Hello Java