Question: Given the piece of code: int i = 0; int j = 0; for (i = 0; i < 3; i++) { } System.out.print(A);

Given the piece of code: int i = 0; int j = 0; for (i = 0; i < 3; i++) { } System.out.print("A"); if (i > 0) {break; } for (j = 0; j 0) {break; } System.out.print("2"); } 4 System.out.print("B"); System.out.println(); What is the output on the console after executing the above piece of code?
Step by Step Solution
3.56 Rating (160 Votes )
There are 3 Steps involved in it
Lets analyze the given piece of code step by step ... View full answer
Get step-by-step solutions from verified subject matter experts
