☕ Java Conditional Statements

Conditional statements allow you to make decisions in your program based on certain conditions.

🖥️ Example 1: if Statement

Output will appear here...

🖥️ Example 2: if-else Statement

Output will appear here...

🖥️ Example 3: if-else if-else Statement

Output will appear here...
💡 Tip: Java uses curly braces { } to group code blocks under conditions.