Infosys interview question

On Java and Phython.