What's the output of the following code?
class Test {
public static void main(String[] args) {
Integer[] a = new Integer[4];
int[] b = (int[])a;
Object[] c = a;
Object[] d = (Object[])a;
}
}
The code does not compile. Test.java:4: error: incompatible types: Integer[] cannot be converted to int[].