Infosys Interview Question

Basics or java and python