單項選擇題若有定義chara[]=newchar[5];則a.length的值為()
A.0
B.10
C.4
D.5
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題數據下標越界,則發(fā)生異常,提示為()
A.Runtime Exception
B.IO Exception
C.ArrayIndex Out Of Boond Exception
D.class Cast Exception
2.單項選擇題若有定義inta[]=newint[2][3]則第1個下標的可用范圍是()
A.1到2
B.0到2
C.1
D.0到1