设有数组定义:int myIntArray[] = {10, 20, 30, 40, 50, 60, 70}; 则以下代码段执行后,输出结果是________。 int s = 0 ; for(int i = 0; i < myIntArray.length; ++i) if(i % 2 == 1) s += myIntArray[i]; System.out.println(s);
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】According to the passage, the statement that best describes the writer's attitude is ______.
A.
there are no ways to make workers more productive
B.
workers want more variety, freedom and money, but shorter working time and less contribution
C.
variety, freedom, contribution, more money and shorter working time seem possible factors leading to greater productivity, actually they are not or they are impossible
D.
it is impossible to make workers work more productively, because the work they do is so boring