Barclays interview question

Class diagrams.