Infosys interview question

They asked about oops