Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is class invariant? C++
What is class invariant? C++
✍: Guest
A class invariant is a condition that defines all valid states for an object. It is a logical condition to ensure the correct working of a class. Class invariants must hold when an object is created, and they must be preserved under all operations of the class. In particular all class invariants are both preconditions and post-conditions for all operations or member functions of the class.
2012-01-10, 2901👍, 0💬
Popular Posts:
What is Shell scripting A shell script is a script written for the shell, or command line interprete...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
If we have the following in a Java code: String s="abc"; String s2="abc"; Then what will be output o...
What does address of operator do in background? The AddressOf operator creates a delegate object to ...
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...