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
Why c++ is created?
What is #include iostream h in c++?
Is c++ the hardest language?
Is python written in c or c++?
What are the various situations where a copy constructor is invoked?
Explain about Garbage Collector?
Define 'std'.
What is the difference between global variables and static varables?
Do vectors start at 0 c++?
What are advantages of using friend classes?
What is called array?
Explain how overloading takes place in c++?
What are dynamic type checking?
What is #include cmath?
What is const in c++?