Question: 9. a. After the break statement is executed in the following loop, which statement is executed? Show the output. 1: for (int i = 1;

9. a. After the break statement is executed in the following loop, which statement is executed? Show the output. 1: for (int i = 1; i 4; i++) { 2: for (int j = 1; j 4; j++) { f (i * j 2) break; System . out . printin( 4 5 6: 7: 8: j); * System.out.println (i); b. After the continue statement is executed in the following loop, which statement is executed? Show the output. 1: for (int i = 1; i 4; i++) { 2: for (int j-1; j
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
