#if
Answer
Answer
Anonymous Quiz
14%
Compilation error
15%
None of the above
12%
Less than 50
60%
Greater than 50
👎1
What is the range of short data type in Java?
#java_1
#java_1
Anonymous Quiz
32%
-128 to 127
36%
-32768 to 32767
8%
-2147483648 to 2147483647
23%
None of the mentioned
What is the range of byte data type in Java?
#java_1
#java_1
Anonymous Quiz
64%
-128 to 127
9%
-32768 to 32767
13%
-2147483648 to 2147483647
14%
None of the mentioned
Which data type value is returned by all transcendental math functions?
#java_1
#java_1
Anonymous Quiz
21%
int
46%
double
15%
float
17%
long
👍1
Which of these selection statements test only for equality?
#java_1
#java_1
Anonymous Quiz
25%
if
31%
switch
33%
if & switch
11%
none of the mentioned
Which of these are selection statements in Java?
#java_1
#java_1
Anonymous Quiz
16%
for()
63%
if()
13%
continue
8%
break
👍1
Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?
#java_1
#java_1
Anonymous Quiz
64%
do-while
16%
while
8%
for
11%
none of the mentioned
❤1
Which of these keywords is used to make a class?
#java_2
#java_2
Anonymous Quiz
78%
class
6%
struct
4%
int
12%
none of the mentioned
Which of the following is a valid declaration of an object of class Box?
#java_2
#java_2
Anonymous Quiz
10%
new Box obj;
17%
obj = new Box();
66%
Box obj = new Box();
6%
Box obj = new Box;