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

Why namespace is used in c++?

0 Answers  


What is oop in c++?

0 Answers  


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

0 Answers  


How would you use the functions randomize() and random()?

0 Answers  


How can you quickly find the number of elements stored in a dynamic array?

0 Answers  


What is algorithm in c++ programming?

0 Answers  


What is #include cstdlib in c++?

0 Answers  


What is else if syntax?

0 Answers  


What is the most useful programming language?

0 Answers  


Where must the declaration of a friend function appear?

0 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


Is c++ harder than java?

0 Answers  


Categories