UBS interview question

About projects and oops concept.