✏️ Explanatory Question
The Java run-time system automatically generates exceptions that belong to the RuntimeException and Error classes.
Examples include:
ArithmeticException (e.g., division by zero)
NullPointerException (accessing null object)
ArrayIndexOutOfBoundsException (invalid array index)
StackOverflowError, OutOfMemoryError, etc.
These exceptions are usually unchecked and occur during program execution.