Which of the following statements about arrays is syntactically wrong

Question:
Which of the following statements about arrays is syntactically wrong

1.arrayName[] p = new arrayName[5];

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

3.arrayName[] p [];

4.arrayName p[5];

Posted Date:-2021-10-25 05:10:46


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!