Which of the following blocks is designed to catch any type of exception?
A) catch() { }
B) catch(...) { }
C) catch(*) { }
D) catch(exception) { }
Correct Answer:
Verified
Q12: An object that is being thrown cannot
Q13: One of the typical ways of dealing
Q14: A(n) _ is an occurrence of an
Q15: Which of the following is a valid
Q16: A catch block can have, at most,
Q18: When division by zero occurs and the
Q19: The statements that may generate an exception
Q20: A catch block specifies the type of
Q21: The class _ is designed to deal
Q22: In a sequence of try/catch blocks, 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