Guidewire interview question

What are the differences between private, protected, and public?