TIAA interview question

OOPS concept