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

When to use “const” reference arguments in a function?

0 Answers  


What is meant by entry controlled loop?

0 Answers   Agilent, ZS Associates,


What is difference between class and function?

0 Answers  


In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


What is a constructor in c++ with example?

0 Answers  






What is a static member?

0 Answers  


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

0 Answers  


What do you mean by inheritance in c++?

0 Answers  


What is an iterator?

0 Answers  


i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????

1 Answers  


What is cout flush?

0 Answers  


What do you mean by “this” pointer?

0 Answers  


Categories