以下程序的输出结果是 public class ko6_9 { public static void main(String args[]) { int sum=0; int ko[][]={{1,2,3},{4,5,6},{7,8,9}}; for(int n=0;n<3;n++) for(int m=0;m<3;m++) sum+=ko[n][m]; System.out.println("sum="+sum); } }
A.
sum=55
B.
sum=45
C.
sum=0
D.
sum=9
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Some people don’t mind being fat. Other people can keep slim (苗条) without any effort. But a lot of people do put on too much weight and don’t like it. The question is, what can thy do about it? Some b...
【简答题】信息匹配(共5小题,每小题2分,满分10分) 下面是有关植物和园艺方面的详细信息,请阅读下面相关信息,并按照要求匹配信息。请在答题卡上将对应题号的相应选项字母涂黑。 56. (Part One) Once your plants are growing you will need to keep them happy. How do you do this and what sorts of to...
【简答题】第二节:信息匹配(共5小题,每小题1.5分,满分7.5分) 下面是有关植物和园艺方面的详细信息,请阅读下面相关信息,并按照要求匹配信息。 36. (Part One) Once your plants are growing you will need to keep them happy. How do you do this and what sorts of tools will you n...