Given the following code, what keyword must be used at line 4 in order to stop execution of the for loop?
1. boolean b = true; 2. for (;;) { 3. if (b) { 4. <insert code> 5. } 6. }
Click to view the answer
C.
The break keyword is used to stop execution of a loop.