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

Should the this pointer can be used in the constructor?

0 Answers  


Why do we use constructor?

0 Answers  


What are punctuators in c++?

0 Answers  


What is the fastest c++ compiler?

0 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??

2 Answers  


What is ios in c++?

0 Answers  


What is the difference between = and == in C?

20 Answers   Christ University, Intel,


What is operators in c++?

0 Answers  


What is microsoft c++ redistributable?

0 Answers  


How many namespaces are there in c++?

0 Answers  


show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.

1 Answers  


Categories