J.P. Morgan interview question

usual java/j2ee questions