Question: What is in the array after this code is executed? int[] test={4, 7, 5, 8, 10, 2); for(int i=0; i <6; i++) { if(i%2=0)//
What is in the array after this code is executed? int[] test={4, 7, 5, 8, 10, 2); for(int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Answer int test 4 7 5 8 10 2 for int i 0 i 6 i if i 2 0 even test... View full answer
Get step-by-step solutions from verified subject matter experts
