Lockheed Martin interview question

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