throw Can constructors exceptions?
Answer / nashiinformaticssolutions
Yes, constructors can throw exceptions, but the object won't be created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which programming language is best to learn first?
which is the easy way to divide any integer by 2?
What is a hash function c++?
What is the use of cmath in c++?
What are iterators in c++?
Explain how functions are classified in C++ ?
What is abstraction in c++ with example?
What is the difference between a constructor and a destructor in C++?
Is it possible to provide special behavior for one instance of a template but not for other instances?
How does work in c++?
What is function overriding?
difference between macro and function?