What happens if an exception is throws from an object's
constructor and from object's destructor?
Answers were Sorted based on User's Feedback
Answer / rajesh
exception from object's destructor - could terminate the
program while stack unwinding.
|Is This Answer Correct ?||2 Yes||0 No|
Answer / achal ubbott
If an exception is generated by constructor of the class
that object is not created. That means if you do
the destructor would not be called.
|Is This Answer Correct ?||1 Yes||0 No|
Answer / reegan
if an exception is throws from object constructor, it is
caught by catch block .the same thing is happen in the objects
|Is This Answer Correct ?||1 Yes||3 No|
Explain the difference between abstract class and interface in c++?
What does it mean to declare a destructor as static?
What is wrapper class in c++?
Define what is constructor?
What do c++ programmers do?
What happens if an exception is throws from an object's constructor and from object's destructor?
What is a parameterized type?
List out some of the OODBMS available?
Eplain extern keyword?
What is an explicit constructor?
Explain the uses oof nested class?
Explain "const" reference arguments in function?