Infosys interview question

Some questions about oops basic concepts etc