Join our Telegram Channel

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.

Advertisement

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

GkSeries apsc prelims 2023 test series

Today's Top Current Affairs

Current Affairs MCQs

State-wise Current Affairs

General Knowledge

Month-wise Current Affairs 2023

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test