Nihilent interview question

OOPS concept