Hashtable program is throwing error like required here

please look into it and clear my doubt regrading hashing