What are the conditions that have to be met for a condition to be an invariant of the class?
Answer / 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 |
What is the use of ::(scope resolution operator)?
What is the difference between reference type and pointers.
What is an arraylist c++?
Is c++ the hardest programming language?
Do we have private destructors?
Should I learn c or c++ first?
What you mean by early binding and late binding? How it is related to dynamic binding?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What are c++ files?
What do you mean by function and operator overloading in c++?
How to tokenize a string in c++?
Declare a class vehicle and make it an abstract data type.