Which two are valid array declaration?
A. Object array[];
B. Boolean array[3];
C. int[] array;
D. Float[2] array;
Answer:A
Which two are valid array declaration?
A. Object array[]; B. Boolean array[3]; C. int[] array; D. Float[2] array;