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
Which of the statements are valid in below declarations ?
YOU CAN CHOOSE MORE THAN ONE ANSWER 5 STATEMENTS ARE CORRECT 5 ARE WRONG FOR DECLARATION OF ARRAY IN JAVA
YOU CAN CHOOSE MORE THAN ONE ANSWER 5 STATEMENTS ARE CORRECT 5 ARE WRONG FOR DECLARATION OF ARRAY IN JAVA
Anonymous Poll
61%
1.) int[] a = new int[];
72%
2.) int[] a = new int[3];
50%
3.) int[][] a = new int[][];
56%
4.) int[][] a = new int[3][];
17%
5.) int[][] a = new int[][4];
78%
6.) int[][] a = new int[3][4];
28%
7.) [][][] a = new int[3][4][5];
17%
8.) [][][] a = new int[3][4][];
6%
9.)[][][] a = new int[3][][5];
0%
10.) [][][] a = new int[][4][5];
Java Hyd Team
Which of the statements are valid in below declarations ?
YOU CAN CHOOSE MORE THAN ONE ANSWER 5 STATEMENTS ARE CORRECT 5 ARE WRONG FOR DECLARATION OF ARRAY IN JAVA
YOU CAN CHOOSE MORE THAN ONE ANSWER 5 STATEMENTS ARE CORRECT 5 ARE WRONG FOR DECLARATION OF ARRAY IN JAVA
Think twice this can be your next drive question 🙂 but not sure 😊
Java Hyd Team
Int [] x = new int [3];
Syso(x ); Syso(x(0));
Syso(x ); Syso(x(0));
Write Correct java answer
Java Hyd Team
Int [] x = new int [3];
Syso(x ); Syso(x(0));
Syso(x ); Syso(x(0));
Classname@hascode in hexadecimal form correct answer for first sysout as per description
👍1
Tick the output of last Syso statement
Int [] [] x = new int [2][]; Syso(x); Syso(x[0]; Syso(x[0][0]);
Int [] [] x = new int [2][]; Syso(x); Syso(x[0]; Syso(x[0][0]);
Anonymous Poll
0%
0
33%
Runtime exception
33%
Runtime error
33%
Compile time error
0%
Null
👍1
We have done ref for 10 yesterday night total resumes recieved 31 rest 21 will be done tonight 😊