Access modifiers control the visibility of classes, methods, and fields — who can access them. They're the mechanism behind encapsulation. Java has four levels, from most to least restrictive.
The four levels
{
a;
b;
c;
d;
}
