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
What methods can be overridden in java?
What is a tuple c++?
What is the full form of stl in c++?
What is purpose of abstract class?
Which one is better- macro or function?
What is ofstream c++?
How can we access protected and private members of a class?
What is functions syntax in c++?
What is polymorphism & list its types in c++?
What is the best way to declare and define global variables?
Does c++ vector allocate memory?
What is abstraction c++?
Can you explicitly call a destructor on a local variable?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
What are the main features of c++?