#java_1
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Anonymous Quiz
19%
if else
64%
switch
11%
for loop
6%
Do while
👍3👎1
#java_1
A switch can only test for equality using the equality operator (==).
A switch can only test for equality using the equality operator (==).
Anonymous Quiz
61%
True
39%
False
#java_1
Used to break out of a loop if a certain condition is met.
Used to break out of a loop if a certain condition is met.
Anonymous Quiz
79%
break
21%
Continue
#java_1
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Anonymous Quiz
22%
break
78%
Continue
#java_1
a syntax to select one of many code blocks to be executed
a syntax to select one of many code blocks to be executed
Anonymous Quiz
26%
if else
12%
if
40%
switch
22%
loop
#java_1
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Anonymous Quiz
14%
if else
67%
switch
11%
for loop
8%
Do while
What is the range of short data type in Java?
#java_1
#java_1
Anonymous Quiz
37%
-128 to 127
30%
-32768 to 32767
6%
-2147483648 to 2147483647
27%
None of the mentioned
What is the range of byte data type in Java?
#java_1
#java_1
Anonymous Quiz
63%
-128 to 127
11%
-32768 to 32767
11%
-2147483648 to 2147483647
15%
None of the mentioned
Which data type value is returned by all transcendental math functions?
#java_1
#java_1
Anonymous Quiz
30%
int
48%
double
12%
float
10%
long