int all=new int[3]; a[0]=5; a[1]=10; a[2]=20;
System.out.println(a[O] + a[2]); What will
be printed?
2
30
25
5
Answers
Answered by
0
Output:
25
Explanation:
As, a[0] = 5 and a[2] = 20,
So, 5 + 20 = 25.
Answered by
1
Answer:-
a[0]+a[2]=5+20=25
So,
output is
25
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
Biology,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago
Math,
11 months ago