HARMAN interview question

Design patterns and Java