Computer Science, asked by anupambaghel150, 1 year ago

What is empty loop in Java

Answers

Answered by ruchipatasariya
2
It has no initialization statement,

so nothing will be executed.

It's conditional check

statement is also empty,

so which means it evaluates to true.

After that the loop body is executed.

Next, since the update

statement is empty,

nothing is executed.

anupambaghel150: Thanks
Similar questions