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 are namespaces in c++?

0 Answers  


Copy Linked List using recursive function?

2 Answers   Persistent,


What are libraries in c++?

0 Answers  


Explain the difference between struct and class in terms of access modifier.

0 Answers  


Define 'std'.

0 Answers  


What is double in c++?

0 Answers  


C is to C++ as 1 is to a) What the heck b) 2 c) 10

0 Answers  


Describe new operator and delete operator?

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. x =+ 7;

2 Answers  


What are the various oops concepts in c++?

0 Answers  


what is polymorphism?

14 Answers   Accenture,


What is the sequence of destruction of local objects?

0 Answers  


Categories