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
give me an example for testing a program showing the test path .show how the test is important and complex.
Give example of a pure virtual function in c++?
What's the order in which the local objects are destructed?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
Why can templates only be implemented in the header file?
How did c++ get its name?
Write a code/algo to find the frequency of each element in an array?
What is the object serialization?
Which should be more useful: the protected and public virtuals?
Is set c++?
Are iterators pointers?
What is the use of typedef?
What does it mean to declare a destructor as static?
List the advantages of inheritance.
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c