Infosys interview question

basic questions from oops and Web apis