Fidelity Investments interview question

OOP principles