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

class method
(static method)
subjectfact 
class methodhas definition A method that, unlike an instance method, does not execute in the context of a particular instance of a class2001-08-30 14:54:51.0
has purpose implementing functions such as initializing a class, or operating on the complete set of instances of a class2001-08-30 14:54:51.0
is a subtopic of The Basics of Java2001-08-30 14:54:51.0
is a kind of method2001-08-30 14:54:52.0
should not be overused2001-08-30 14:54:52.0
is a synonym of static method2001-08-30 14:57:47.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 class method :