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

Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 Answers  


What is pointer -to-members in C++? Give their syntax?

0 Answers   Honeywell, Zomato,


Which operator can not be overloaded in C++?

1 Answers  


difference between macro and function?

3 Answers  


Why do we use using namespace std in c++?

0 Answers  


How to stop conversions among objects?

5 Answers   Symphony,


What is the use of dot in c++?

0 Answers  


What is an operator function? Describe the function of an operator function?

0 Answers   Fidelity,


Why do you use the namespace feature?

0 Answers  


Are there interfaces in c++?

0 Answers  


Which one between if-else and switch is more efficient?

0 Answers  


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

0 Answers  


Categories