You are working on a project that has an existing function called getNextId() which returns an int.
You are given the following code:
while (true) {
int id = getNextId();
if (id == -1) {
break;
}
if (id % 2 == 0) {
continue;
}
System.out.println(id);
}
System.out.println("Done"); Which of the following statements are TRUE about this code? Choose the correct answer:
A. The code will only print odd numbers
B. The code will only print even numbers
C. The code will print all numbers except -1
D. If id is an odd number, the execution will exit the loop (or "continue" out of the loop) and print Done. E. If id is an even number, the execution will exit the loop (or "continue" out of the loop) and print Done.