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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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
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 ] + " ");
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!