Pergunta de entrevista da empresa Lockheed Martin

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