What is the purpose of exception handling?

What will be an ideal response?

Exception handling provides a better method of communicating to the caller of a
function that something is not right than expecting the caller to check error codes.

Computer Science & Information Technology

You might also like to view...

A graphics tablet is also known as a(n) ________

A) OCR reader B) digitizing tablet C) infrared light reader D) RFID

Computer Science & Information Technology

Suppose s1 and s2 are two strings. What is the result of the following code?

s1.equals(s2) == s2.equals(s1) a. true b. false

Computer Science & Information Technology