Programming Concepts

What is Exception handling primarily used for?

Correct answer

B. A programming mechanism used to detect and respond to runtime errors gracefully.

Explanation

Exception handling refers to a programming mechanism used to detect and respond to runtime errors gracefully.