Which of the following options should you choose when an exception occurs in the program that analyzes an airline's ticketing transactions?
A) Terminate the program.
B) Include code in the program to recover from the exception.
C) Log the error and continue.
D) Include code in the header file.
Correct Answer:
Verified
Q26: Suppose you have written a program that
Q28: A(n) _ block specifies the type of
Q29: The class _ is designed to deal
Q30: Which of the following classes is derived
Q31: If you want to include members in
Q33: Which of the following statements creates a
Q35: Throwing an exception is typically done using
Q36: When an exception is thrown in a
Q37: The _ of the catch block parameter
Q40: In C++, throw is a(n) _ word.
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