What are the conditions that have to be met for a condition to be an invariant of the class?
Answer Posted / 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 View All Answers
How can virtual functions in c++ be implemented?
What does catch(…) mean?
give me an example for testing a program showing the test path .show how the test is important and complex.
Does c++ support exception handling?
What do you mean by inheritance in c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What is c++ & why it is used?
What is pointer with example?
Explain the uses of static class data?
How would you use qsort() function to sort an array of structures?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
What is static function? Explain with an example
How long it will take to learn c++?
Mention the storage classes in c++.
Is c++ low level?