單項選擇題

以下()代碼,能夠?qū)?shù)組正確初始化(或者是默認初始化)。

A.int[ ] a;
B.a={1,2,3,4,5};
C.int[ ] a=new int[5]{1,2,3,4,5};
D.int [ ] a=new int[5];

微信掃碼免費搜題