Page 1 of 1

What is the output of the following code fragment: int[] egArray = { 2, 4, 6, 8, 10,1,3,5,7,9 }; for(int index=0 ; index

Posted: Sat May 14, 2022 4:40 pm
by answerhappygod
What Is The Output Of The Following Code Fragment Int Egarray 2 4 6 8 10 1 3 5 7 9 For Int Index 0 Index 1
What Is The Output Of The Following Code Fragment Int Egarray 2 4 6 8 10 1 3 5 7 9 For Int Index 0 Index 1 (27.29 KiB) Viewed 32 times
What is the output of the following code fragment: int[] egArray = { 2, 4, 6, 8, 10,1,3,5,7,9 }; for(int index=0 ; index < 5; index++) System.out.print( egArray[ index ] + " ");