what is difference betwwen hashmap and hashtable ?

Answer Posted / javablossom

The Iterator is used in the hashmap is fail-safe and
whereas the Enumerator used in hashtable is not fail-safe.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of using break in each case of switch statement?

556


What is considered an anti pattern?

513


What is meant by the value of a variable?

445


Is arraylist sorted in java?

519


What is java object name?

542






What is diamond operator in java?

489


Is 0 true or false?

503


Explain about oops concepts.

623


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

484


What is the difference between stringbuffer and stringbuilder?

572


What is map java?

506


Why do we need singleton class?

539


Why is the type for real numbers called double?

535


How would you dynamically allocate memory to an array?

580


What is the platform?

515