Answer the following statements true (T) or false (F)

1) The default action of unexpected() can be changed.
2) Mentioning a base class B in an exception specification includes a class D objects,
where D is derived from B, in the exception specification.
3) In type matching to select a catch block, only exact matches work.
4) The situations where exceptions are used put the try block with the throw statement
followed by the catch block all in one function.
5) A function that satisfies its preconditions but cannot fulfill its postconditions should
throw an exception.

1) T
2) T
3) T
4) F
5) T

Computer Science & Information Technology

You might also like to view...

Explain the term RDBMS

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ in PowerPoint Online provides a visual structure to a presentation, including colors, fonts, effects, background styles, and placeholder positioning

Fill in the blank(s) with correct word

Computer Science & Information Technology