Pregunta de entrevista de Lockheed Martin

What’s the difference between protected, private and public variables?