Question: Given the following Java pseudo code and the array index starts from 0 , what is the output? int index; int array ={9,3,7,4,6,2}; for (index
Given the following Java pseudo code and the array index starts from 0 , what is the output? int index; int array ={9,3,7,4,6,2}; for (index =0; index = index +2 ) System.out.print(array[index] +" "); 976 937462 342 37462 93462
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
