Java he yit chúng vu̍t-khien thô-hiong ke thien-nó chhàng-sṳt ngî-ngièn.

Ngî-fap編輯

Yung Java chhàng-sṳt tá chhut Hello World:

 // Hello.java
 public class Hello {
     public static void main(String[] args) {
         System.out.println("Hello, World!"); 
     } 
 }