These modifiers control inheritance, polymorphism, and memory management. Unlike access modifiers (which control visibility), these define how a class, method, or variable behaves.
Represents a constant. Once defined, it cannot be changed.
Belongs to the class, not the instance. Shared across all objects.
Declared without implementation. Must be implemented by subclasses.
Used in multi-threading to prevent thread interference.
Method implemented in another language (C/C++). Acts as a bridge to system libraries.
Value is always read from main memory, not thread cache. Used in multi-threading.
Variables skipped during Serialization. Value is not saved/persisted.
Ensures floating-point (decimal) calculations are identical on all platforms.
| Modifier | Class | Method | Variable |
|---|---|---|---|
| Final | |||
| Static | |||
| Abstract | |||
| Synchronized | |||
| Transient |