Virtusa interview question

override a method in HashMap