Also known as: member function
A method that is associated with an object rather than the class of the object. An instance method is only accessible from within or via an instance of the class and is typically used to access information that is expected to be different from one instance to another.
The exact syntax used to access a instance method varies from language to language. The mosty common syntax is objectReference.methodName(). When referenced from within other methods on the object, some languages require an explicit reference to the object (e.g. this.methodName() or self methodName) while others just assume that any unqualified methods are instance methods.
Copyright © 2003-2008 Gerard Meszaros all rights reserved