hello word!!
1.複製以下程式碼 貼在一個新WordPad檔
/**
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
3.使用命令提示字元作Java編譯如下圖即成功

沒有留言:
張貼留言