GkSeries.com
Home
GK
ENGLISH
CURRENT AFFAIRS
APTITUDE
REASONING
BANKING
UGC NET
COMPUTER SC.
UPSC Prelims
COURSES
Home
Computer Science
Which of the following is not an valid declaration of an array?
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.
⭐ Make GKSeries Your Preferred Source on Google
Add GKSeries as Preferred Source
Next Question →
WhatsApp
Facebook
Telegram
Pinterest
Copy Link
Connect with Us
Follow
Follow
Follow
Join channel
Join channel
Follow