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 the use of ::(scope resolution operator)?

0 Answers  


What is the difference between reference type and pointers.

4 Answers   HCL,


What is an arraylist c++?

0 Answers  


Is c++ the hardest programming language?

0 Answers  


Do we have private destructors?

12 Answers   Symphony, TCS,


Should I learn c or c++ first?

0 Answers  


What you mean by early binding and late binding? How it is related to dynamic binding?

1 Answers  


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

0 Answers  


What are c++ files?

0 Answers  


What do you mean by function and operator overloading in c++?

0 Answers  


How to tokenize a string in c++?

0 Answers  


Declare a class vehicle and make it an abstract data type.

0 Answers  


Categories