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

A Return an error code from the constructor 

B Throw an exception from the constructor 

C Write the error to a log file 

D Use "delete this;" in the constructor 

E None 

+ Answer
+ Report
Total Preview: 870

Copyright © 2024. Powered by Intellect Software Ltd