Explain infinite loop with the help of example.
Answers
Answered by
0
Answer:
An infinite loop occurs when a condition always evaluates to true. Usually, this is an error. For example, you might have a loop that decrements until it reaches 0. public void sillyLoop
Similar questions