單項選擇題下面所列選項中,能夠正確定義具有10個數(shù)據(jù)元素一維整型數(shù)組a的是()。
A.int[]a=new int[10];
B.int a[10];
C.int[]a=int[10];
D.int[]a=int(10);
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題通過string類的方法,將stringstr1="MICROSOFTVISUALSTUDIO2008"轉(zhuǎn)換成"microsoftvisualstudio2008",正確的語句是()。
A.str1.ToLower()
B.str1.ToUpper()
C.str1.ToUpper
D.str1.ToLower
2.單項選擇題執(zhí)行doublex=Math.Ceiling(-3.75)語句,x的值為()。
A.4
B.-4
C.3
D.-3