Word.ws English Dictionary

class invariants

class invariants is the plural of class invariant.

Meaning of class invariant

Noun

class invariant (plural class invariants)

  1. (object-oriented programming) An invariant used to constrain objects of a class that is preserved by class methods and that constrains the state stored in the object.
    • Every object of a given class must satisfy the class's invariant. This invariant acts as a constraint, limiting the size of the class's state-space. A subclass both inherits the class invariant(s) of its superclass(es) and adds a further restriction of its own.2000, Meilir Page-Jones, Fundamentals of Object-oriented Design in UML, Addison-Wesley Professional, →ISBN, page 272
    Synonyms:
    type invariant

Questions about class invariants

What is class invariants the plural of?
Class invariants is the plural of class invariant.

Words near class invariants in the dictionary

  1. class diagrams
  2. class enemies
  3. class enemy
  4. class envy
  5. class invariant
  6. class invariants
  7. class list
  8. class lists
  9. Class M
  10. class reunion
  11. class reunions

Source and license

Adapted from Wiktionary: class invariants (page history and authors); class invariant (page history and authors). Text available under the Creative Commons Attribution-ShareAlike 4.0 license. Word.ws reformatted the entry and added links. Wiktionary data of 2026-09-02.

Last updated:

Cite this entry: “class invariants.” Word.ws, https://word.ws/class_invariants. Based on Wiktionary, CC BY-SA 4.0.