Infosys interview question

Difference between put n patch