State Street interview question

core java , java 1.8 and Junit