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 is design pattern?

2 Answers   Samsung,


What are advantages of C++ when comparing with C?

18 Answers   HP, iGate, TCS,


What is fflush c++?

0 Answers  


What is c++ manipulator?

0 Answers  


What is an Iterator class?

1 Answers  






Which is most difficult programming language?

0 Answers  


Should you pass exceptions by value or by reference?

0 Answers  


Is facebook written in c++?

0 Answers  


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

0 Answers  


What do you know about near, far and huge pointer?

0 Answers  


What is #include cstdlib in c++?

0 Answers  


What is setf in c++?

0 Answers  


Categories