当前位置:SCJP程序员认证考试题库

问题:

[多选]

10. public class Bar { 
11.static void foo(int...x) { 
12. // insert code here 
13. } 
14. } 
Which two code fragments, inserted independently at line 12, will allow the class to compile?()

A .  foreach(x) System.out.println(z);
B .  for(int z : x) System.out.println(z);
C .  while( x.hasNext()) System.out.println( x.next());
D .  for( int i=0; i< x.length; i++ ) System.out.println(x[i]);

游仙诗 通风是根据空气中的(),有计划地使库内外空气进行交换,以达到调节库内温湿度的目的。 温度情况。 湿度情况。 对流规律。 变化规律。 下列属于金融市场客体的是() 居民个人。 金融机构。 货币头寸。 会计师事务所。 简述水土保持的意义和作用。 在表格单元格中可以插入的对象有() A.文本 。 B.图像 。 C.Flash动画 。 D.Java程序插件。

10. public class Bar { 
11.static void foo(int...x) { 
12. // insert code here 
13. } 
14. } 
Which two code fragments, inserted independently at line 12, will allow the class to compile?()

参考答案:

  参考解析

本题暂无解析

在线 客服