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

1) In C++, an exception object can be a user-defined type or any type that is built-into C++ language.
2) In C++ an exception object must be derived from the exception class defined in the standard library.
3) An exception is signaled or raised with the keyword catch followed by an
exception object that may be of any C++ type.
4) The context in which the throwing of an exception is detected is the try block.

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

Computer Science & Information Technology

You might also like to view...

When working on laptops, antistatic _____ might be easier to use in order to not damage electronic components with ESD

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following occurs when an attacker locates a web site vulnerability, thereby allowing the attacker to inject malicious code into the Web application?

A. XSS B. insecure direct object references C. memory leaks D. CSRF

Computer Science & Information Technology