FIS interview question

Core java and spl and oops concepts