Question: Which loop statement outputs the elements of array 'a'? a. for (int ; true; ) System.out.println (a[i]); b. for (int ; true; ) ; System.out.println
Which loop statement outputs the elements of array \'a\'? a. for (int ; true; ) System.out.println (a[i]); b. for (int ; true; ) ; System.out.println (a[i]); c. for (int ; a.length; ) System.out.println (a [i]); d. for (int ; i System. out.println ; e. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
