class NewArrayAccess { public static void main(String[] args) { /* * In Java, this is invalid, since this creates a new 2D array (which is not the type of x) * In MiniJava, this is valid, because this creates a new array of size 5 and access the first element */ int x = new int[5][1]; } }