求助,17的args.length是否会编译或运行时错误?
public class Yippee {
16. public static void main(String [] args) {
17. for(int x = 1; x < args.length; x++) {
18. System.out.print(args[x] +" ");
19. }
20. }
21. }
and two separate command line invocations:
java Yippee
java Yippee 1234
What is the result?
String [] args----似乎说是没有实例化,还是什么的。哪位给我分析下。