Interview Question
Created by admin on Sat, 17/11/2012 - 15:22
Question:
What are the conditions that have to be met for a condition to be an invariant of the class?
Language:
Answer:
The condition should hold at the end of every constructor, The condition should hold at the end of every mutator(non-const) operation.