☕ Java Exceptions

Exceptions in Java are unexpected events that disrupt the flow of a program. Java handles these events with try-catch blocks.

🖥️ Example: Basic Exception Handling

Output will appear here...

📝 Common Exception Types

💡 Tip: Always handle exceptions gracefully to avoid program crashes!