Current Affairs Monthly Magazine -Subscribe Now!
900 GEOGRAPHY MCQS | EBook
1000 BIOLOGY MCQS AND ANSWERS | EBook
1000 POLITICAL SCIENCE MCQS | EBook
1000 ECONOMICS MCQS FOR EXAMS | EBook
Mughal Empire MCQs | EBook
ECONOMIC GEOGRAPHY MCQs | EBook
350 MCQs ON INDIAN CONSTITUTION | EBook
GENERAL AWARENESS COMBO (6 EBOOKS)

Question

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.

Month-wise Current Affairs 2022

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test