Which of the following is not valid in array declaration ?
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordingly
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordingly
Anonymous Quiz
25%
Int [] a,b; a->1 ,b->1
10%
Int [] a[],b; a->2 ,b->1
20%
Int [] a[],b[]; a->2 ,b->2
10%
Int [] []a,b; a->2 ,b->2
15%
Int [] [] a,b[]; a->2 ,b->3
20%
Int [] a[],[]b; a->2 ,b->3
Java Hyd Team
Go n attend this walk-in interview tomorrow morning ๐
How's your experience today ๐ easy questions totally ๐๐ค
What is o/p of below mentioned code
Int [] x = new int [5] ; Syso (x.getClass().getName());
Int [] x = new int [5] ; Syso (x.getClass().getName());
Anonymous Quiz
11%
[I
32%
Class A
32%
Class X
11%
class [i
16%
Class [I
Java Hyd Team pinned ยซWhich of the following is not valid in array declaration ?
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordinglyยป
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordinglyยป
We have some openings in LTI freshers FullStack developer let me check with team for referral
Java Hyd Team
Which of the following is not valid in array declaration ?
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordingly
arrow with no. Declares the dimensions of the array syntax is only before semicolon so check accordingly
All 5 options are correct way to declare an array in java except 6th option while answering any MCQ please read multiple times