Tech Mahindra Interview Question

usual java/j2ee question