is throwing exception from a constructor not a good practice ?
Answer Posted / saranya
yes, because constructor does not throws an exception
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What are the advantages of prototyping?
What is the best free c++ compiler for windows?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Explain storage qualifiers in c++.
What is function overriding in c++?
Explain differences between new() and delete()?
What would happen on forgetting [], while deallocating an array through new?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What are disadvantages of pointers?
What is class in c++ with example?
What is the difference between function overloading and operator overloading?
What is main function in c++ with example?
What is a terminating character in c++?
What is the copy-and-swap idiom?
What does n mean in c++?