Integer i = new Integer(123); //宣告一個Integer物件並指定值 ... 在Java中是使用「 new」來將架構(類別)轉換成品(物件)。
mis.hwai.edu.tw