wiki:Java_Lab1

Version 2 (modified by jazz, 15 years ago) (diff)

--

從 C++ 到 Java : 入門級爪哇程式練習 =

練習一: 基本爪哇程式編譯指令與執行方法

  • 下載 Java TutorialHelloWorldApp.java 範例程式原始碼
    hadoop004@hadoop:~$ wget http://java.sun.com/docs/books/tutorial/getStarted/application/examples/HelloWorldApp.java
    hadoop004@hadoop:~$ javac HelloWorldApp.java
    
  • 執行 HelloWorldApp 範例程式
    hadoop004@hadoop:~$ java HelloWorldApp
    

Attachments (1)

Download all attachments as: .zip