Computer Science, asked by sathibuswas, 4 months ago

Give the output of the following for (i=1;i<3;i++) System. out. println(i*i)​

Answers

Answered by apranshusinha
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