How would you represent an error detected during constructor
of an object?

Answer Posted / arash

errors in constructors are represented by exceptions

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In the derived class, which data member of the base class are visible?

896


Can union be self referenced?

872


How do you differentiate between overloading the prefix and postfix increments?

864


Which function cannot be overloaded c++?

857


Can a Structure contain a Pointer to itself?

835


What is the copy-and-swap idiom?

856


What is the difference between reference and pointer?

876


Does a derived class inherit or doesn't inherit?

859


What are static and dynamic type checking?

844


What is fflush c++?

799


What is implicit conversion/coercion in c++?

1035


What is the use of 'this' pointer?

1050


What is class invariant in c++?

992


What is pair in c++?

834


Is there a sort function in c++?

781