//EBU4201 Lab1Q1 TestArgs.java
public class TestArgs {
public static void main(String [] args){
System.out.println("Name = " + args[0] + " " + args[1]);
System.out.println("BUPT email username = " + args[2]);
System.out.println("QMUL student number = " + args[3]);
}
}
(iii)
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3 at TestArgs.main(TestArgs.java:6) it's beacause the array out of bounds