Java Modifiers

Modifiers are keywords that determine the characteristics of classes, interfaces, and their members. They can be placed at the beginning of each declaration.

The modifiers that can be specified are determined by the target. The following table summarizes where each modifier can be used.

Modifiers Available in Java

Modifier Class Interface Method Field Constructor
Access modifier
abstract × ×
static ×
final × ×
transient × × × ×
volatile × × × ×
synchronized × × × ×
native × × × ×
strictfp × ×