Hexaware Technologies Interview Question

java concepts