Question d’entretien chez Infosys

What is the difference between private and protected in java