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?

Conditions ae there :
> The condition should hold at the end of every constructor.
> The condition should hold at the end of every mutator (non-const) operation. 

By:Umang
Date:2006-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher