12619. Which of the following statements about arrays is syntactically wrong ?

A. arrayName[] p = new arrayName[5];
B. arrayName p[][] = new arrayName[2][];
C. arrayName[] p [];
D. arrayName p[5];
✅ The correct answer is option D.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top