Java : JAVA Object Oriented Programming

Which of the following statements about arrays is syntactically wrong , Which of the following statements about arrays is syntactically wrong

Which of the following statements about arrays is syntactically wrong

Which of the following statements about arrays is syntactically wrong
A. arrayName[] p = new arrayName[5];

B. arrayName p[5];

C. arrayName[] p [];

D. arrayName p[][] = new arrayName[2][];



Correct Answer :

B. arrayName p[5];



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad