KPIT Technologies interview question

Software design pattern