Class Modifier
Public
Can be accessed from other classes
Obstract
This class cannot be instantiated
Final
Sub-classes cannot be declared.
Constructor Modifier
Public
Accessible from all classes
Protected
It can only be accessed from its own class and its subclass
Private
Can only be accessed in this class
Domain Modifier
Public
Accessible from all classes
Protected
It can only be accessed from the current class and its subclass
Private
You can only access it from this class.
Static
Only one domain value exists for all instances of this class.
Transient
Not a part of an object's persistent state
Volatile
Can be modified by asynchronous threads
Final
It must be assigned an initial value and cannot be modified.
Local variable Modifier
Final
It must be assigned an initial value and cannot be modified.
Method Modifier
Public
It can be accessed from all classes
Protected
It can only be accessed from this class and its subclass
Private
You can only access it from this class.
Abstract
No method body. It belongs to an abstract class.
Final
Subclass cannot overwrite it
Static
Instance bound to the class itself, not the class
Native
This method is implemented by other programming languages.
Asnchronized
Before a thread calls it, you must add