
782 Exception Handling
(1) What do you mean by exception han-
dling?
(2) How many different types of errors are
encountered in the program?
(3) Describe the role of keywords try,
catch, and throw in exception han-
dling.
(4) What will happen if the programming
language does not support the exception-
handling feature?
(5) What do you mean by re-throwing of an
exception?
(6) Explain specifying exception with neces-
sary steps.
(7) How are multiple catch blocks defined?
(8) What will happen if an exception is
thrown for which no matching catch
block is defined?
(9) Explain guidelines for exception handling.
(10)