Centric Consulting interview question

oops concept