Solved

Match Each Item with a Statement Below

Question 7

Matching

Match each item with a statement below:

Premises:
Used to rethrow an Exception
Performs clean-up tasks at the end of a try … catch sequence
Occurs when an array subscript is not within the allowed range
Exception class for when a user requests an invalid printer
Sometimes referred to as a catch clause
Thrown when one of the arguments provided to a method is not valid
Terminates a program and passes the argument (which can be any integer) to the operating system
Exception class for input and output errors
Also called dead code
Responses:
Environment.Exit()
unreachable code
IOException
InvalidPrinterException
System.ArgumentException
catch block
finally block
throw
IndexOutOfRangeException

Correct Answer:

Used to rethrow an Exception
Performs clean-up tasks at the end of a try … catch sequence
Occurs when an array subscript is not within the allowed range
Exception class for when a user requests an invalid printer
Sometimes referred to as a catch clause
Thrown when one of the arguments provided to a method is not valid
Terminates a program and passes the argument (which can be any integer) to the operating system
Exception class for input and output errors
Also called dead code
Related Questions