
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Incremental Java Infinite Loop
Example
Following is the required program −
public class Tester { public static void main(String args[]) { int i = 0; do { i++; System.out.println(i); }while (true); } }
The output will keep printing numbers in sequential order.
Advertisements