759Software EngineeringMedium
Which of the following statements about arrays is syntactically wrong?
AarrayName[] p = new arrayName[5];
BarrayName p[5];
CarrayName p[][] = new arrayName[2][];
DarrayName[] p [];
Correct answer
B. arrayName p[5];
Explanation
The correct answer is arrayName p[5];.