State Street interview question

Core java question , sql and project