陣列宣告 int[] values = new int[5];. 陣列名稱. 陣列型態. 陣列大小. 產生5個整數. 抽屜: values[0] values[1] ... 取得陣列長度: int[] values = new int[12];.
確定! 回上一頁