Question 1 of 10
Hall lockers on odd numbers open north. What text does this Java code display?
int locker = 25;
if (locker % 2 == 0) {
System.out.print("south");
} else {
System.out.print("north");
}
- A. south
- B. north
- C. 1
- D. 25