Dure Technologies interview question

oops concept