這究竟是爲什麼,爲什麼不是它給我* ThisIsWhatItShouldBeJava數組錯誤隊列表
代碼
class ArreyTable{
public static void main(String OKM[]){
System.out.println("Index\tValue");
int px[] = {144,240,360,480,720};
for(int counter=0; counter<px.length; counter++){
System.out.println(counter + "\t" + px);
}
}
}
CMD結果
Index Value
0 [[email protected]
1 [[email protected]
2 [[email protected]
3 [[email protected]
4 [[email protected]
ThisIsWhatItShouldBe
Index Value
0 144
1 240
2 360
3 480
4 720