Fidelity Investments interview question

Discuss design principles in Java