Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > procedure > method > instance method
Next methodJava method    Upmethod    Previous methodhook method   

instance method
subjectfact 
instance methodhas definition A method that executes in the context of a particular object; it has access to the instance variables of the given object, and can refer to the object itself using the 'this' keyword (in Java and C++)2001-08-30 14:55:59.0
is a subtopic of 2.4 - Methods, Operations and Polymorphism2001-08-30 14:55:59.0
is a kind of method2001-08-30 14:55:59.0
methodis equivalent to the terms "function member" or "member function" which are used in C++2001-08-30 14:56:35.0
is equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages2001-08-30 14:56:35.0
should have a comment at its head if the method is non-obvious2001-08-30 14:56:35.0
procedural abstractionhas advantage when using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computes2001-08-30 14:57:04.0
hides the details of procedures2001-08-30 14:57:04.0
procedureprovides procedural abstraction2001-08-30 14:57:04.0

Kinds of instance method :