Accenture interview question

basic oops concept they ask