Pregunta de entrevista de Cognizant

What are access specifiers in Java?