Computer Science, asked by annu9565, 3 months ago

int i =0
while (i++<1) System.out.println(i);
System.out.println(i)​

Answers

Answered by ibhaskarshukla
0

Answer:

it is 0

Explanation:

because loop ends after 1-time cause first value will be 0 then adding 1 with right increment then loop terminated cause command is given only for i++<1

Similar questions