Java Methods
A method is a named section of code:- it performs a function or, using object-oriented terminology, it defines what an object does
- parameters (arguments) can particularise what it does
- it can be called (invoked) any number of times
as shown in the example programs to the left. The discussion of static and instance methods is in Classes.
