4.7 Method
MethodReturn Id (Type Id ,...) {Statement ...}
Creates a method, bound to Id, that can be called on the current object, or instances of this class. The body of the method, the statements, will be evaluated sequentially when the method is called. The method name may not be the name of any classes defined in the same program or of any fields or methods in the same class. A method that does not return a value uses the void designation instead of a Type for MethodReturn.
abstract MethodReturn Id (Type Id ,...) ;
Creates a method, bount to Id, inside an abstract class. Like an interface signature, non-abstract classes that inherit this method must provide an implementation.
final MethodReturn Id (Type Id ,...) {Statement ...}
Creates a method, bound to Id, that cannot be overridden by future classes.
static MethodReturn Id (Type Id ,...) {Statement ...} Creates a method, bound to Id, that is tied to the class, not the instance of the class. This method cannot use the this expression within the Statement body.
Multiple methods can appear in a class body with the same name, provided that for each method with a given name the type of arguments or the number of arguments is unique.