Infosys Interview Question

Mostly about core java