Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

3,00,000 Jobs Waiting For You

Q.

Which of the following is not an valid declaration of an array?

A int [ ] a = new int [3];
B int a [ ] [ ] = new int [3] [3]
C int [ ] [ ] a = new int [3] [ ];
D int [ ] [ ] a = new int [ ] [3];
Answer & Explanation
Option: [D]

In multidimensional array rows cannot left blank.

Your Valuable Comments Please...

Useful Computer Science EBooks