Object Oriented Software Engineering View all facts Glossary Help |
subject > programming language construct > procedure > method > abstract method |
abstract method | ||||
subject | fact |
abstract method | has purpose to serve as a placeholder, indicating that subclasses must have concrete implementations | |
is a subtopic of The Basics of Java | ||
is a kind of method | ||
method | 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 | ||
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 abstract method :