DraftKings interview question

asked about object oriented programming