J.P. Morgan interview question

What is the difference between Public, Protected and Private in object oriented languages?