Java T Point Java Interview Question