Assume n is an int variable. Which Java expression is true exactly when n is an odd number, i.e., not divisible by 2, and should be used to check for this situation?
1) n % 2 == 1
2) n % 2 != 0
3) n % 2 != 1
4) n % 2 == 0
5) e. none of the above

Respuesta :