Pregunta de entrevista de Infosys

Difference between private and public class