Assume an array is declared as follows. Which of the following statements correctly assigns the value 100 to each of the four array elements? int[] num = new int[4];
A.
for(x = 0; x < 3; x++) num[x]=100;
B.
for(x = 0; x < 4; x++) num[x]=100;
C.
for(x = 1; x < 4; x++) num[x]=100;
D.
for(x = 1; x < 5; x++) num[x]=100;
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】He is holding a ________ position in the company and expects to be promoted soon. A) subordinate B) succeeding C) successive D) subsequent