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

Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

996


Why is it necessary to use a reference in the argument to the copy constructor?

1062


Are there any special rules about inlining?

1022


What is the use of c++ programming language in real life?

977


What is pointer in c++ with example?

1008


How can you specify a class in C++?

1222


How do I run a program in notepad ++?

1041


What is a class template in c++?

1000


Write syntax to define friend functions in C++.

1003


How many static variables are created if you put one static member into a template class definition?

977


What is a class definition?

1008


What is iterator c++?

925


What is late binding c++?

924


What is endl?

1076


What are exceptions c++?

989