Can a constructor throw a exception? How to handle the error when the constructor fails?
Answer Posted / neelam saini
The constructor never throws a error.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does c++ have arraylist?
What is basic if statement syntax?
What is std :: flush?
How do you flush std cout?
What are the important differences between c++ and java?
Can we use this pointer inside static member function?
What is malloc in c++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What are the two types of polymorphism?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
Differentiate between a constructor and a method in C++.
How do you save a c++ program?
What is the limitation of cin while taking input for character array?
What is the use of map in c++?
What are the rules about using an underscore in a c++ identifier?