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