Question: java please! 1) Which loop statement outputs the elements of array 'a'? 2) Which if statement on the right should be used inside the for
java please!

1) Which loop statement outputs the elements of array 'a'? 2) Which if statement on the right should be used inside the for loop to check for the odd elements in array 'a? a. for (int i = 0; true; i++) System.out.println(a[i]); b. for(int i = 0; true; i++) ; System.out.println(a[i]); c. 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
