Infosys Interview Question

Basics of java and oops concept