Which of the following is NOT a common category of exceptions in Java?
Anonymous Quiz
10%
a) ArithmeticException
12%
b) IOException
65%
c) NetworkException
12%
d) NullPointerException
๐3
Ek Googly Questions lo ๐
Which exception occurs when an array is accessed with an index that is out of bounds?
Which exception occurs when an array is accessed with an index that is out of bounds?
Anonymous Quiz
44%
a) ArrayOutOfBoundsException
48%
b) IndexOutOfBoundsException
7%
c) ArrayIndexException
1%
d) ArrayRangeException
Which interface is implemented by classes that can be used to catch exceptions?
Anonymous Quiz
23%
a) Catchable
57%
b) Throwable
6%
c) Catcher
14%
d) Exceptional
๐3
String str1 = "Hello";
String str2 = "Hello";
System.out.println(str1 == str2); if true then why ? comment your explanation
String str2 = "Hello";
System.out.println(str1 == str2); if true then why ? comment your explanation
Anonymous Quiz
66%
true
23%
false
5%
0
6%
1
๐3
String str1 = new String("Hello");
String str2 = new String("Hello");
System.out.println(str1 == str2); // If your Ans is FALSE , then comment your expalantion
String str2 = new String("Hello");
System.out.println(str1 == str2); // If your Ans is FALSE , then comment your expalantion
Anonymous Quiz
45%
true
55%
false
๐2
String str = "Programming";
System.out.println(str.substring(3, 7));
System.out.println(str.substring(3, 7));
Anonymous Quiz
47%
a) "gramm"
43%
b) "gram"
3%
c) "ramm"
7%
d) "ogra"
Comment Your Explanation why ?
String s1 = "apple"; String s2 = "banana"; int result = s1.compareTo(s2); System.out.println(result);
String s1 = "apple"; String s2 = "banana"; int result = s1.compareTo(s2); System.out.println(result);
Anonymous Quiz
34%
-1
33%
0
15%
1
18%
Depends on the length of the strings
๐1
String s1 = "Hello";
String s2 = "hello";
boolean valueEqualIgnoreCase = s1.equalsIgnoreCase(s2); System.out.println(valueEqualIgnoreCase);
String s2 = "hello";
boolean valueEqualIgnoreCase = s1.equalsIgnoreCase(s2); System.out.println(valueEqualIgnoreCase);
Anonymous Quiz
75%
true
25%
false
๐3
Quiz Topic
Anonymous Poll
42%
Arrays
8%
String
38%
OOPS
7%
Linked List
5%
Data Types and Variables
1%
Opearotrs
๐1
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
Anonymous Poll
24%
Alternate Days - 1 DSA question
55%
Daily - 1 DSA questions
21%
DSA ke Questions ka bhi MCQ try kru like this jo abhi kar rahe h
Coding Wallah Sir
Quiz Topic
jiske votes jada honge kal uske quiz krenge good night
Khatarnak Questions of the Day Dimag Hila Dega baba ๐
๐
- jaldi jaldi batao
String str1 = "Hello"; String str2 = new String("Hello"); str2 = str2.intern(); System.out.println(str1 == str2);
String str1 = "Hello"; String str2 = new String("Hello"); str2 = str2.intern(); System.out.println(str1 == str2);
Anonymous Quiz
46%
false
54%
true
๐1
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