Question d’entretien chez Infosys

Difference between private and public class