Object Oriented Software Engineering View all facts Glossary Help |
subject > programming language construct > procedure > method |
method | ||||
subject | fact |
method | has definition A concrete implementation of an operation; a procedure in a class | |
is equivalent to the terms "function member" or "member function" which are used in C++ | ||
is equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages | ||
is a subtopic of 2.4 - Methods, Operations and Polymorphism | ||
is a kind of procedural abstraction | ||
is a kind of procedure | ||
should have a comment at its head if the method is non-obvious | ||
procedural abstraction | has 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 computes | |
hides the details of procedures | ||
procedure | provides procedural abstraction |
Kinds of method :