- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Infinite while loop in Java
Yes. Following while loop is a valid statement and causes an infinite loop.
while(true);
- Related Articles
- Java infinite do-while loop
- Java infinite for loop
- Incremental Java infinite loop
- Java while loop
- The Infinite Loop in Perl
- What are the differences between while loop and do-while loop in Java?
- Java do-while loop example
- How to use ‘while loop’ in Java?
- do…while loop vs. while loop in C/C++
- How to use ‘do while loop’ in Java?
- How to create an infinite loop in C#?
- How to run an infinite loop in Tkinter?
- How to stop an infinite loop safely in Python?
- The while loop in Javascript
- Do-while loop in Arduino

Advertisements