FIS interview question

Java concepts and design patterns