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 |
Is there a c++ certification?
What does new do in c++?
Specify some guidelines that should be followed while overloading operators?
What is the use of vtable?
Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
0 Answers An-Najah National University,
What are shallow and deep copies?
How do you clear a map in c++?
Why c++ is better than c language?
How is memory managed in C++?
Which software is used to run c++ program?
Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??
Explain unexpected() function?