Infosys Interview Question

Regarding the programing language basics