I googled the topic, but besides Wikipedia I didn\'t find any further useful documentation or articles.
Can anybody explain to me in simple words what it means or r
Invariant means something that should stick to its conditions no matter whatever changes or whoever uses/transforms it. That is to say, a property of a class always fulfills or satisfies some condition even after going through transformations by using public methods. So, the client or user of this class is ensured about the class and its property.
For example,