Interviewer must be a Java developer especially at a bank. Their entire code bases are a series of useless abstractions. I know from first hand experience.
I disagree with the statement “premature optimization is the root of all evil”. It should be “premature abstraction is the root of all evil”.