# If and Multiple Conditions

Run code only when a condition is true, or pick one block out of several.

![Cheat sheet: If and Multiple Conditions](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/8ad02b196d59413487a7024dd2015bdc.webp)

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

Source: https://www.ask-codey.com/cheat-sheets/conditional-logic-if-cheat-sheet
