Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

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
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics