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

In java how do we copy objects?

553


What's the difference between an abstract class and interface in java?

559


What does this () mean in constructor chaining concept?

561


Can we sort arraylist in java?

562


State one difference between a template class and class template.

625






Which java ide is used the most?

507


What is empty string literal in java?

562


Can a class have a static inner class?

606


What is local declaration?

489


What is null mean in java?

627


Where to store local variables?

582


Java is pass by value or pass by reference? Explain

534


How are destructors defined in java?

573


Why java uses the concept of the string literal?

545


What is constructor in java ?

634