Fidelity Investments interview question

Normal core java and java 8 questions