Assertion: class | /r/HasProperty | useful
Facets:
Source sentences:
text: Encapsulation prevents users from breaking the invariants of the class, which is useful because it allows the implementation of a class of objects to be changed for aspects not exposed in the interface without impact to user code.
text: This class is useful for representing human-based time of day, such as movie times, or the opening and closing times of the local library.