Infosys interview question

UML and Design Patterns