Subject |
create by |
override |
return to |
have high cohesion |
have purpose |
be |
access by |
contain |
is a subtopic of |
lack |
is a kind of |
perform |
abstract method | | | | | to serve as a placeholder, indicating that subclasses must have concrete implementations | equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages | | | The Basics of Java | | method | |
Java method | | a method in a superclass with the same name | its caller from only one place which should be the last statement | if related aspects of a system are kept together in this module, and unrelated aspects are kept out | | public except for those that will definitely need to be called from outside the package | other methods and variables in any class in the same package by default | | 9.1 - The Process of Design | side effects if it does not modify any data, and does not leave behind any information, other than its result, that would have an effect on other computations | method | a special-purpose function such as the user interface for a particular system |
Java abstract method | labelling it with the keyword abstract | a method in a superclass with the same name | its caller from only one place which should be the last statement | if related aspects of a system are kept together in this module, and unrelated aspects are kept out | to serve as a placeholder, indicating that subclasses must have concrete implementations | public except for those that will definitely need to be called from outside the package | other methods and variables in any class in the same package by default | any executable statements in its body | The Basics of Java | side effects if it does not modify any data, and does not leave behind any information, other than its result, that would have an effect on other computations | Java method | a special-purpose function such as the user interface for a particular system |