Quiz: Exception Handling
Test your understanding of exception handling.
1
(Fill in the blank) What is exception handling used for?
A)
To suppress errors and bugs in a badly written code.
B)
To handle an external error which the program cannot or is not meant to handle, like losing the database connection.
C)
To use instead of if…else
statements when you try to impress your boss and colleagues with your object oriented programming skills.
Question 1 of 60 attempted
Get hands-on with 1400+ tech skills courses.