Infosys Interview Question

basics oops and interest, AI