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 is class invariant?



What is class invariant?..

Answer / subham chaudhary

A class invariant is a condition that defines all valid states for an object. It is a logical condition to ensure the correct working of a class. Class invariants must hold when an object is created, and they must be preserved under all operations of the class. In particular all class invariants are both preconditions and post-conditions for all operations or member functions of the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is c++ prototype?

0 Answers  


What are the advantage of using register variables?

0 Answers  


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

0 Answers  


How many ways can a variable be initialized into in C++?

0 Answers   HCL,


Where Malloc(), Calloc(), and realloc() does get memory?

0 Answers  


write the programme that convert a interger to biniry number

1 Answers   Amazon,


What are manipulators in c++ with example?

0 Answers  


What is polymorphism & list its types in c++?

0 Answers  


What is meant by a delegate?

0 Answers  


Explain the concept of dynamic allocation of memory?

0 Answers  


What are structures and unions?

0 Answers  


What are function prototypes?

0 Answers  


Categories