Question:Which of the following techniques should you use to handle a destructor that fails? 

A Return an error code from the destructor 

B Throw an exception from the destructor 

C Write the error to a log file 

D Use "delete this;" in the destructor 

E None 

+ Answer
+ Report
Total Preview: 825

Copyright © 2024. Powered by Intellect Software Ltd