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

Is java based off c++?

523


How are Structure passing and returning implemented by the compiler?

591


What is the use of object in c++?

556


What is meant by iomanip in c++?

598


Name the operators that cannot be overloaded in C++?

576






Explain register storage specifier.

582


What is the difference between global variables and static varables?

558


If a function doesn’t return a value, how do you declare the function?

605


How a modifier is similar to mutator?

620


Who created c++?

566


Name four predefined macros.

590


What does int * mean in c++?

625


Describe the process of creation and destruction of a derived class object?

634


What is the use of seekg in c++?

590


Why are arrays usually processed with for loop?

761