Aj video kafi Kam bacho ne Dekhi, Esha Qqq bhai?
Anonymous Poll
44%
Exception handling NAHI Ata Hai sir π
40%
Thoda Busy h,baad me dekh lenge β€οΈ
17%
Humne to dekh li π€π
Coding Wallah Sir
Quiz Topic
So Aaj Array ke 3-4 questions krte h ready ho jao sare π₯π₯
Dhyaan se lagana no jaldi baji.
How many legal array declarations in java ? [ ] string myArray1; string myArray2[ ]; string[ ] myArray3;
How many legal array declarations in java ? [ ] string myArray1; string myArray2[ ]; string[ ] myArray3;
Anonymous Quiz
9%
1
56%
2
26%
All
9%
None
π1
Which method is used to copy one array into another in Java?
Anonymous Quiz
15%
a) copy()
27%
b) clone()
21%
c) System.arraycopy()
36%
d) Arrays.copy()
MULTIPLE CHOICE Questions
Which of the following creates an empty two-dimensional array with dimensions 2Γ2?
Which of the following creates an empty two-dimensional array with dimensions 2Γ2?
Anonymous Poll
9%
a) int[][] blue = new int[2, 2];
12%
b) int[][] blue = new int[2], [2];
65%
c) int[][] blue = new int[2][2];
8%
d) int[][] blue = new int[2 x 2];
55%
e) int blue[][] = new int[2][2];
π2
Dimag Ke ππ Godhe Dodane ke liye ready Ho Jao, A rha h Dhamkedar ek or Question π
What does this code output?
String[] nums = new String[] { "1", "9", "10" }; Arrays.sort(nums); System.out.println(Arrays.toString(nums));
String[] nums = new String[] { "1", "9", "10" }; Arrays.sort(nums); System.out.println(Arrays.toString(nums));
Anonymous Quiz
57%
a) [1, 9, 10]
14%
b) [1, 10, 9]
6%
c) [10, 1, 9]
23%
d) None of the above
Last Questions of the day - Aaj thoda HARD ho gya kya ?
What does the following output? String[] os = new String[] { "Mac", "Linux", "Windows" }; Arrays.sort(os); System.out.println(Arrays.binarySearch(os, "Mac"));
What does the following output? String[] os = new String[] { "Mac", "Linux", "Windows" }; Arrays.sort(os); System.out.println(Arrays.binarySearch(os, "Mac"));
Anonymous Quiz
23%
0
45%
1
17%
2
14%
None
β€3
Coding Wallah Sir
kya bolte ho
DSA ke Topic Wise 3-4 questions ka target le every week
DSA ke Topic Wise 3-4 questions ka target le every week
Are kal Bacho ne Bola DSA ka bhi kre kya
Aj ek Question le lo - https://leetcode.com/problems/find-all-duplicates-in-an-array/
LeetCode
Find All Duplicates in an Array - LeetCode
Can you solve this real interview question? Find All Duplicates in an Array - Given an integer array nums of length n where all the integers of nums are in the range [1, n] and each integer appears at most twice, return an array of all the integers that appearsβ¦
π3
π1