Question: ) 10. The statement that cannot form a loop is A. for statement B. while statement C. switch statement D. do while statement 11. Select
) 10. The statement that cannot form a loop is A. for statement B. while statement C. switch statement D. do while statement 11. Select the output result according to the code.( int i = 0; j = 1; if ((i++ == 1) && (++ == 2)) { i=42; } System.out.println("i="+i+"j=" +j); A. i=1.j-2 B. i=1.j=1 c. i-42.j=2 D. i-42.j=1 12. The result of the following program segment is String s = new String("abcdefg"); for (int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
