Keyword | Description |
abstract | Is not implemented by a class containing it |
final | May not be overridden |
native | The method is implemented in the machine code used by the host CPU, not using java bytecodes |
private | Can be invoked by code in the same class |
protected | Can be invoked by code in a subclass or the same package |
public | Can be invoked by any other class |
static | Is not an instance method |
synchronized | Acquires a lock when it begins execution |