| The Java Language | CS 161 - Java |
"A method is a named sequence of instructions ..."
An action that you want an object to perform one or more times
public class Something {
// instance variable definitions, if any
// method definitions that pertain to actions that Something can be
// asked to do
public ReturnDataType action name {
...
}
}
|
jwd |