Question 1 of 10
A ticket printer uses this loop. Which header part is the Boolean expression tested before each body execution?
for (int i = 1; i <= 4; i++) {
System.out.print(i);
}
- A. int i = 1
- B. i <= 4
- C. i++
- D. System.out.print(i)