Infosys interview question

Regarding the programing language basics