Lockheed Martin Interview Question

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