2022 iThome 鐵人賽
分享至
Array:相同特質的變數,集合在一起[] = 陣列[4]= 4個元素
練習:
int[] ary1; ary1 = new int[4]; System.out.println(ary1[0]); System.out.println(ary1[1]); System.out.println(ary1[2]); System.out.println(ary1[3]); } }
初始
IT邦幫忙