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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need pointers?

1010


What is encapsulation in C++? Give an example.

1104


Can non graphic characters be used and processed in C++?

1197


Is swift a good first language?

1050


What is auto type c++?

1129


Is it possible to provide default values while overloading a binary operator?

1269


explain the reference variable in c++?

1073


What is #include iomanip?

1010


Can turbo c++ run c program?

1100


Can we inherit constructor in c++?

1097


What is the role of static keyword for a class member variable?

1074


Can union be self referenced?

1161


How do you flush a buffer in c++?

1101


What is implicit pointer in c++?

1089


Carry out conversion of one object of user-defined type to another?

1050