Method

A special type of function that can only be called in a specific context. It can only be called from an object – as it is defined in the class of that object – whereas a function can be called from anywhere. Note that methods are an object-oriented concept and so for some languages, where … Continue reading Method