Need help with my Java programming assignment. 10 POINTS TO WHOEVER CAN ANSWER THEM CORRECTLY!!!
1. Which of the following is the java comparison operator that means "not equal to"?
A. <=
B. -=
C. <>
D. !=
2. If x is an int with a value of 5, which of the following expressions evaluates to true?
A. x > 5
B. x <= 5
C. x != 5
D. x < 5
3. If x is an int variable, which of the following is not a Boolean expression?
A. x == 9
B. x -= 3
C. x != 2
D. x < 0
4. if num is an int, which expression always evaluates to true if num holds an odd number?
A. num % 2 == 0
B. num % 2 < 0
C. num % 2 == 1
D. num / 2 == 1