# While and Do-While Loops

Check first, or run first and check after.

![Cheat sheet: While and Do-While Loops](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/1a26a218085041a9b87f45145530c335.webp)

- Category: Java
- Level: Novice
- Tags: java
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/looping-while-loop-cheat-sheet
