int a[]={5,10,15,20,25};
int x=2;
System.out.println(a[x++]+”,”+a[x]);
Answers
Answered by
1
Answer:0
Explanation: Method sumUp does not return any value. The change in the local variable total is not visible outside the method.
Answered by
1
Answer:
Explanation:
Method sumUp does not return any value. The change in the local variable total is not visible outside the method.
Similar questions