Class Definition Java Tutorial

There are four access control modifiers in Java:
public,
protected,
private, and
the default access level.