找了一下發(fā)現(xiàn)網(wǎng)上只說就這么定義的,哪位大神能幫忙解釋一下根本原因?是不是能從虛擬機的角度解釋一下?謝謝啦!eg.String s[] = new String[] {"1","2","3"};正確String s[] = {"1","2","3"};正確String s[] = new String[3] {"Zero","One","Two"};錯誤
添加回答
舉報
0/150
提交
取消