Advertisements
Advertisements
Question
Consider the following array and answer the questions given below:
int a[ ] = {12,10,8,4,6,2,3,5,7}
What is the output of System.out.print(a[0]+a[5]);?
Very Short Answer
Advertisements
Solution
14
Explanation:
a[0] is 12, a[5] is 2
shaalaa.com
Is there an error in this question or solution?
2024-2025 (March) Official Board
