Which is an incorrect declaration of one dimensional array
Asked by admin @ in Computer Science viewed by 558 People
Which of the following is an incorrect array declaration?
a) int[] a = new int[20];
b)int [] a;
c)int [] [] a = new int[20];
d)int [] [] a = { {1,2,4},{1,2,4}};