Class Modifier
Public can be accessed from other classes
Abstract This class cannot be instantiated
Final cannot declare subclass any more
Constructor Modifier
Public can be accessed from all classes
Protected can only be accessed from its own class and its subclass
Private can only be accessed in this class
domain modifier
Public can be accessed from all classes.
protected can only be accessed from this class and its subclass.
private can only access it from this class.
static: Only one domain value exists for all instances of this class.
transient is not a part of the persistent state of an object.
volatile it can be modified by an asynchronous thread.
final must assign an initial value to it and cannot modify it.
Local variable Modifier
Final must assign an initial value to it and cannot modify it.
Method Modifier
Public can access it from all classes
Protected can only access it from this class and its subclass
Private can only be accessed from this class
Abstract: No method body. It belongs to an abstract class.
The final subclass cannot overwrite it.
Static is bound to the class itself, not the instance of the class.
Native Programming Language Implementation
Asnchronized must be added to a thread before calling it.