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 are the conditions that have to be met for a condition to be an invariant of the class?



What are the conditions that have to be met for a condition to be an invariant of the class?..

Answer / atul shankhwar

 The condition should hold at the end of every constructor.

 The condition should hold at the end of every mutator(non-const) operation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is a .h file c++?

0 Answers  


Can user-defined object be declared as static data member of another class?

0 Answers  


Define copy constructor.

0 Answers  


Define the process of error-handling in case of constructor failure?

0 Answers  


what are the decision making statements in C++? Explain if statement with an example?

0 Answers  


How do you link a C++ program to C functions?

4 Answers  


What is an iterator?

0 Answers  


What is a class template in c++?

0 Answers  


How a pointer differs from a reference?

0 Answers  


Please explain class & object in c++?

0 Answers  


What is the benefit of learning c++?

0 Answers  


Is there any problem with the following: char *a=NULL; char& p = *a;?

1 Answers  


Categories