Kiwee interview question

When would you use public/private/protected access modifier?