Infosys interview question

Core java , database , Oops , coding