J.P. Morgan interview question

Java basics and advance skills.