Question 1 of 10
A library clerk stamps a B for every bin on two shelves. What text does this Java code display?
for (int shelf = 0; shelf < 2; shelf++) {
for (int book = 0; book < 4; book++) {
System.out.print("B");
}
}
- A. BBBB
- B. BB
- C. BBBBBBBB
- D. BBBBBBBBBBBB