Infosys Interview Question

Basic questions of Java