1.Which operator is used for addition in Java?
2. Which operator is used to assign a value to a variable?
3. What is the result of 5 + 3 * 2 ?
4. Which operator checks if two values are equal?
5.What does the != operator mean?
6. Which operator is used to check greater than?
7. Which operator is used for logical AND?
8. What is the result of: 10 % 4 ?
9. Which statement is used for decision making in Java?
10. Which keyword is used to test multiple conditions?
11. What will this code print?
int x = 10;
if(x > 5){
System.out.println("Yes");
}
12. Which operator is used for logical OR?
13. What does the ! operator do?
14. Which condition is correct in Java?
15. What will be the output?
int x = 5;
if(x == 5){
System.out.println("Correct");
}

0 Comments