Barclays interview question

Differences between public vs private classes.