1. Which is used to terminate a loop? O switch O break continue catch 2. Which two statements are true about the break statement? Choose all correct answers) when a break statement is executed inside a loop, the loop-statement is terminated immediately □The execution of the program will stop at the statement following the loop-statement. The execution of the program will continue with the statement following the loop-statement. □ when a break statement is executed inside a loop, the loop-statement is terminated immediately and comes out of the program. 3. The purpose of adding comments is to increase the ability to understand the logic easily. OFalse 4. Which statement will produce the output: 2, 4, 6, 8, 10? 0 for (int i = 0; i 10: i += 2) { System.out.printi+ for (int i = 2; i
Expert Answer