问题:
public class Yippee {
public static void main(String [] args) {
for(int x = 1; x < args.length; x++) {
System.out.print(args[x] +“ “);
}
}
}
and two separate command line invocations:
java Yippee
java Yippee 1234
What is the result?()
A . No output is produced. 123
B . No output is produced. 234
C . No output is produced. 1234
D . An exception is thrown at runtime. 123
E . An exception is thrown at runtime. 234
F . An exception is thrown at rijntime. 1234
public class Yippee {
public static void main(String [] args) {
for(int x = 1; x < args.length; x++) {
System.out.print(args[x] +“ “);
}
}
}
and two separate command line invocations:
java Yippee
java Yippee 1234
What is the result?()
● 参考解析
本题暂无解析
相关内容
相关标签