TransUnion interview question

Regarding oops concept coding questions