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



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

Answer / neelam saini

The constructor never throws a error.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What's the hardest coding language?

0 Answers  


When do we use copy constructors?

0 Answers  


Write about the access privileges in c++ and also mention about its default access level?

0 Answers  


What is == in programming?

0 Answers  


Is c++ a good first language to learn?

0 Answers  






Write a C++ Program to Multiply two Numbers

1 Answers  


What is #include iomanip?

0 Answers  


What do you mean by inheritance in c++?

0 Answers  


Do vectors start at 0 c++?

0 Answers  


Explain the isa and hasa class relationships. How would you implement each?

0 Answers  


Why null pointer is used?

0 Answers  


What can I use instead of namespace std?

0 Answers  


Categories