Multiple choice technology programming languages

Exception can be Rethrown?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Exceptions can indeed be rethrown in Java and other languages. After catching an exception, code can explicitly rethrow the same exception (or wrap it in a new exception) using 'throw;' or 'throw ex;'. This is commonly used for adding context, logging, or handling exceptions at multiple levels of the call stack.