Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What happens if an exception is throws from an, object's
constructor and object's destructor?

Answer Posted / truong

1. If exception is thrown in the constructor, the destructor will be not called.
2. If exception is thrown in the destructor of a static object, exception will be catch in the main.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is do..while loops structure?

1143


Define anonymous class.

1067


What is the difference between the functions memmove() and memcpy()?

1113


What are guid?

1240


What are the advantages of using pointers in a program?

1133


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

2003


What do the keywords volatile and mean mutable?

1050


Are c and c++ similar?

1047


What is a c++ object?

1155


Is map ordered c++?

1089


What is the purpose of template?

1107


Where are setjmp and longjmp used in c++?

1113


What does new do in c++?

1068


What is null c++?

1136


Why is c++ not purely object oriented?

1002