Ericsson interview question

What is the difference between public, private and protected?