Which of the following options should you choose when an exception occurs in a 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
Q33: Which of the following statements creates a
Q34: The function _ returns a string containing
Q35: Throwing an exception is typically done using
Q36: When an exception is thrown in a
Q37: The _ of the catch block parameter
Q39: The class _ is the base of
Q40: In C++, throw is a(n) _ word.
Q41: If the operator new cannot allocate memory
Q42: The string concatenation operator is represented by
Q43: The class _ deals with the string
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