Ericsson Interview Question

What is the difference between public, private and protected?