Assertion: class's method | /r/HasProperty | defined in class
Facets:
Source sentences:
text: In class-based programming, methods are defined in a class, and objects are instances of a given class.
text: Class instances can also have methods (defined by its class) for modifying its state.