Q:

Can a constructor throw an exception? How to handle the error when the constructor fails?

0

Can a constructor throw an exception? How to handle the error when the constructor fails?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

The constructor never throws an error.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the initializer list in C++?... >>