求教出现的Exception in thread "main"
package sec;public class Test {
public static void main(String[] args) {
System.out.println(args[0]);
System.out.println(args[1]);
}
}
结果显示:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at sec.Test.main(Test.java:5)