Question 1 of 25
Hints left: 3
Q1
What is the result of the expression 10 > 5 ? 2 : 1 in Java?
Q2
What is the result of the expression 8 / 4 in Java?
Q3
What is the result of the expression 3 << 2 in Java?
Q4
Which operator is used for logical NOT in Java?
Q5
What is the value of the expression true && true in Java?
Q6
Which operator is used to perform bitwise XOR in Java?
Q7
Which operator is used for bitwise NOT in Java?
Q8
What is the result of the expression 7 / 0 in Java?
Q9
What is the result of the expression (6 + 3) * 2 in Java?
Q10
What is the value of the expression 6 > 4 ? 10 : 20 in Java?
Q11
int x = 0, y = 0 , z = 0 ; x = (++x + y-- ) * z++; What will be the value of "x" after execution ?
Q12
Which of the following is a bitwise operator in Java?
Q13
Which operator is used for exponentiation in Java?
Q14
What is the result of the expression 5 ^ 3 in Java?
Q15
Which operator is used for string concatenation in Java?
Q16
Which operator is used to perform logical AND in Java?
Q17
What is the value of the expression false && false in Java?
Q18
What is the value of the expression 5 + 2 == 7 && 4 > 3 in Java?
Q19
What is the result of the expression 1 << 3 in Java?
Q20
What is the result of the expression 5 | 3 in Java?
Q21
What is the value of the expression 8 < 6 ? 4 : 2 in Java?
Q22
What is the result of the expression 4 * 2 + 3 in Java?
Q23
What is the value of the expression true || false in Java?
Q24
What is the value of the expression 9 % 4 in Java?
Q25
What is the value of the expression false || true in Java?