= 2009-07-06 = * Java 教學 * 下載 [http://cds-esd.sun.com/ESD46/JSCDL/jdk/6-docs/jdk-6u10-docs.zip?AuthParam=1246858411_31d6b9ee8509a74a70aae36f8958a541&TicketId=B%2Fw2lRSARVhLShRAOFdckAbq&GroupName=CDS&FilePath=/ESD46/JSCDL/jdk/6-docs/jdk-6u10-docs.zip&File=jdk-6u10-docs.zip JDK 6 文件] * 下載 [http://cds-esd.sun.com/ESD7/JSCDL/jdk/6u14-b08/jdk-6u14-windows-i586.exe?AuthParam=1246858360_957cb37e5bbe3527cd9aa059ee03a497&TicketId=CJ0rgJrNlDWNxZbsXo0NBgk%3D&GroupName=CDS&FilePath=/ESD7/JSCDL/jdk/6u14-b08/jdk-6u14-windows-i586.exe&File=jdk-6u14-windows-i586.exe JDK 6] * [http://java.sun.com/docs/books/tutorial/ Java Tutorial] {{{ // 存為 Test.java import java.io.*; import java.lang.String; public class Test { public String myData; public String getMyData() { return myData; } public void setMyData(String data) { myData = new String(data); } public static void main(String args[]) { Test myTest = new Test(); myTest.setMyData("This is a test"); System.out.print(myTest.getMyData()); } } }}}