How would you represent an error detected during constructor
of an object?



How would you represent an error detected during constructor of an object?..

Answer / arash

errors in constructors are represented by exceptions

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

Can you explain the term "resource acquisition is initialization?"

1 Answers   Amazon,


How can you differentiate between inheritance and implementation in c++?

0 Answers  


What should main() return in c and c++?

0 Answers  


What is algorithm in c++ programming?

0 Answers  


What is the role of copy constructor in copying of thrown objects?

0 Answers  






Do we have to use initialization list in spite of the assignment in constructors?

0 Answers  


What is the meaning of c++?

0 Answers  


Is c++ an oop?

0 Answers  


What is std namespace in c++?

0 Answers  


Explain virtual destructor?

0 Answers  


What is #include iostream in c++?

0 Answers  


What do nonglobal variables default to a) auto b) register c) static

0 Answers  


Categories