Give the output of the following for (i=1;i<3;i++) System. out. println(i*i)
Answers
Answered by
0
Answer: 0
Explanation:
Method sum up does not return any
value. The change in the local variable total is
not visible outside the method.
Similar questions