在注释 //Start For loop 处要插入哪段代码可实现根据变量 i 的值定位数组 ia[] 的元素 ? public class Lin{ public void amethod(){ int ia[] = new int[4]; //Start For loop { ia[i]=i; System.out.println(ia[i]); } } }
A.
for (int i=0; i < ia.length() -1; i++)
B.
for (int i=0; i< ia.length(); i++)
C.
for (int i=1; i < 4; i++)
D.
for (int i=0; i< ia.length;i++)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】What's the decision you may have to make when you are preparing a report?
A.
Whether we should use a lot of slang
B.
Whether the report is formal or informal
C.
Whether we should use computer to present the report
【简答题】Translate the following paragraph into Chinese Rational people know that decisions in life are rarely black and white but usually involve shades of gray. At dinnertime, the decision you face is not be...