The exception facility should be used when

a) Some resource is unavailable to the compiler
b) A program encounters an error and cannot recover, but needs to shut down
gracefully, perhaps saving work..
c) A program requests a resource that is not available.
d) Array index value is out-of-bounds
e) A programmer calls the wrong function
f) A division by zero occurs
g) There is a compiler detected error
h) A call to operator new fails to allocate memory from free store
i) An arithmetic error occurs

b) A program encounters an error and cannot recover, but needs to shut down
gracefully, perhaps saving work..
c) A program requests a resource that is not available.
d) Array index value is out-of-bounds
f) A division by zero occurs
h) A call to operator new fails to allocate memory from free store
i) An arithmetic error occurs

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a reserved area for text, graphics, and fields that display at the top of every page of the document

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can filter a mail merge recipient list after it has been selected

Indicate whether the statement is true or false

Computer Science & Information Technology