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

What are stacks?

607


Are strings immutable in c++?

655


Is c++ map a hash table?

567


Which function should be used to free the memory allocated by calloc()?

589


Explain this pointer?

582






Can we change the basic meaning of an operator in c++?

655


What is implicit pointer in c++?

602


When we use Abstract Class and when we use Interface?where we will implement in real time?

1666


What is the use of cmath in c++?

590


State two differences between C and C++.

610


What is null pointer and void pointer?

624


What does int * mean in c++?

635


What is c++ & why it is used?

592


What do you mean by late binding?

617


How many types of scopes are there in c++?

578