This quiz focuses on fundamental operators and wrapper classes in Java. It tests understanding of methods like isNaN in Double, key methods in wrapper classes, and correct usage of operators and conditionals in Java programming, enhancing practical Java coding skills.
XxxValue()
Valueof()
ParseXxx()
Xxxvalue()
ValueOf()
ParseXxx()
Rate this question:
The output is Equal
The output is Not Equal
An error at " if (x = y)" causes compilation to fall.
The program executes but no output is show on console.
Rate this question:
Small
Tiny
Huge
Compilation fails
Rate this question:
Are also called as objects
Are not objects
Cannot access methods of object class
Can access methods of object class
Rate this question:
2variable
Variable2
_whatavariable
_3_
$anothervar
#myvar
Rate this question:
8 0
8 1
9 2
9 1
Rate this question:
Switch block
Switch expression
Switch statement
Switch construct
Rate this question:
Extensible
Immutable
Serializable
All the above
Rate this question:
+
-
&
*
Rate this question:
2147483646
1
2
Cannot be shifted
Rate this question:
50h
This results in compile time error'Number Frame Exception'
This results in runtime error 'Number Format Exception'
50
Rate this question:
True
False
Null
0
Rate this question:
Int [] myList = {"1", "2", "3"};
Int [] myList = (5, 8, 2);
Int myList [] [] = {4,9,7,0};
Int myList [] = {4, 3, 7};
Rate this question:
0
1
2
3
Rate this question:
Quiz Review Timeline (Updated): May 18, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.