KPIT Technologies interview question

UML dig.