APRG Technologies interview question

oops concept,