instancemethod
nounUK /ˈɪnstəns ˈmɛθəd/
US /ˈɪnstəns ˈmɛθəd/
A tool in a computer program that works with one specific thing made from a blueprint.
Calling the instancemethod on the new object changed its color.
RELATED WORDS
OTHER MEANINGS
2. A function defined inside a class that receives the object as its first argument.
In Python, the instancemethod takes self as its first parameter.
3. A method that can only be used after an object is created from a class.
You cannot call this instancemethod until you build an instance.
4. A routine tied to a single copy of a data structure rather than the whole type.
The instancemethod updated only that one record, not all of them.