To display the error message generated by an exception to the user,you use:
A) the Message method of class Exception
B) the Message property of class Exception
C) the ErrorMessage method of class Exception
D) the ErrorMessage property of class Exception
Correct Answer:
Verified
Q31: The Catch handler that catches an exception
Q32: The exception-handling mechanism allows only objects of
Q33: Which of the following statements is true?
A)The
Q34: Variables local to Try blocks are usable
Q35: There must be a Catch clause for
Q37: Almost all runtime exceptions can be fixed
Q38: Exception handlers typically access objects declared within
Q39: When an exception occurs,the Try block _.
A)expires
B)continues
Q40: Methods and the Common Language Runtime can
Q41: When reading a stack trace,start from the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents