Basic and Advance Java Question:
Download Questions PDF

How can you write a loop indefinitely in Java Programming?

Answer:

for(;;)–for loop; while(true)–always true, etc.

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What is a native method in Java Programming?Can an anonymous class be declared as implementing an interface and extending a class in Java Programming?