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

1. A function declared thus: void func(argument_list) throw(); should throw no exception of any type.

2. The default action of unexpected() can be changed.


1. True
Explanation: This is an empty list, which says no exceptions should be thrown. Contrast this with a function that has no exception specification which means an exception of any kind may be thrown.
2. True
Explanation: This is mentioned in the text, where it is suggested that you need to be aware of this, but only states you need to consult a more advanced text.

Computer Science & Information Technology

You might also like to view...

A domain name ends with an extension that indicates its bottom-level domain.

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

Computer Science & Information Technology

Scrambling and encryption are methods used to prevent ____.

A. piracy B. hacking C. malware D. software bugs

Computer Science & Information Technology

The syntax of the assignment statement that calls the prompt() function is ____.

A. variableName = prompt("optional default value"); B. variableName = ("prompt text","optional default value"); C. variableName = prompt("prompt text","optional default value"); D. variableName = "prompt text";

Computer Science & Information Technology

Bill-of-materials systems usually represent trees using an indented list.

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

Computer Science & Information Technology