abstract
|
Method without an implementation. Member of
an abstract class or interface.
|
access |
If no scope is given, a method has package scope.
public : everyone can see it, protected : subclasses
can use it and private: can only be seen from within this
class. |
static |
The static keyword is used to declare class
methods -- methods that don't refer to a specific object. Call it with a
class specifier: Class.Method() . Eg. Math.cos(x)
calls the static cosine method in the Math class |
return-type |
Any type (including classes & arrays). Use void
if the method doesn't return a value. |
final
|
Cannot be overridden by a
child class.
|