Infinite do while loop in java
Java Programming Language Decision Making and Looping in java (Article) Decision Making and Looping in java (Program)
1219Program:
public class InfiniteDoWhileLoop { public static void main(String[] args) { do{ System.out.println("infinitive do while loop"); }while(true); } }
Output:
infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop infinitive do while loop . . . .
This Particular section is dedicated to Programs only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.