Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > procedure > method > abstract method
Next methodclass method    Upmethod    Previous methodutility   

abstract method comparison table
Subject implement override create by return to have high cohesion have purpose hide have be access by contain is a subtopic of lack is a kind of provide perform have advantage
Java abstract method a method in a superclass with the same namelabelling it with the keyword abstractits caller from only one place which should be the last statementif related aspects of a system are kept together in this module, and unrelated aspects are kept outto serve as a placeholder, indicating that subclasses must have concrete implementationsthe details of proceduresa comment at its head if the method is non-obviouspublic except for those that will definitely need to be called from outside the packageother methods and variables in any class in the same package by defaultany executable statements in its bodyThe Basics of Javaside 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 computationsJava methodprocedural abstractiona special-purpose function such as the user interface for a particular systemwhen 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

Next methodclass method    Upmethod    Previous methodutility