Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

Which of the following is true about exception handling in Java?

Click the option that best answers the question.

  • Exceptions should always be caught and handled within the same method where they occur
  • The try block is used to catch exceptions and the catch block is used to handle them
  • Unchecked exceptions are always caught at compile-time
  • Exceptions provide a way to handle expected errors and abnormal situations