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