What are the conditions that have to be met for a condition to be an invariant of the class?

Go down

What are the conditions that have to be met for a condition to be an invariant of the class?

Post  Admin on Sun Jan 31, 2010 5:34 pm

Answer:
1.The condition should hold at the end of every mutator(non-const) operation.
2.The condition should hold at the end of every constructor.
� The condition should hold at the end of every mutator(non-const) operation.

Admin
Admin

Posts : 71
Join date : 2010-01-21

View user profile http://campus-interview.co.cc

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum