FINRA interview question

Object oriented question and a DB question.