Multiple choice technology programming languages

From which problems is it possible for a program to recover?

  1. Errors

  2. Exceptions

  3. Both errors and exceptions

  4. Neither

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

In Java, Exceptions represent recoverable conditions that programs can handle (like IOException, FileNotFoundException). Errors (like OutOfMemoryError, StackOverflowError) represent serious problems that programs typically cannot recover from.