QuestionQ22

Exception Handling

A user provides unexpected data to a program. Which functionality can a programmer use to display an understandable error message to the user?

Explanation

Exception handling catches errors caused by invalid or unexpected input and enables the program to present a meaningful, user-friendly error message.

Community Discussion

No comments yet. Be the first to start the discussion!