To catch exceptions thrown by a section of code, you must first enclose those lines in a ________ block.

a) try
b) finally
c) throw
d) exception
e) None of the Above.

a) try

Computer Science & Information Technology

You might also like to view...

A ________ is a larger, planned software update that addresses multiple problems or adds additional features

A) patch B) hotfix C) cookie D) service pack

Computer Science & Information Technology

If a programming language does not use short-circuit evaluation, what is the output of the following code fragment if the value of myInt is 0?

int other=3, myInt; if(myInt !=0 && other % myInt !=0) cout << "other is odd\n"; else cout << "other is even\n"; a. other is even b. other is odd c. 0 d. run-time error, no output

Computer Science & Information Technology