Infosys Interview Question

Difference between private and public class