What is an infinite loop? Write an infinite loop statement.
Views 10
Answer:
A loop which continues iterating indefinitely and never stops is termed as infinite loop. Below is an example of infinite loop:
for (;;) System.out.println("Infinite Loop");
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.