Infosys Interview Question

Normal Java and oops questions