what is Hashmap & Hashtable wirh example?

Answer Posted / 20/04/2008

hashmap class is not syncronized but hasTable is syncronized
. both stores key and value. hashtable is part of legasy
class we can use enumerator interface of this hashtable class.

Is This Answer Correct ?    27 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please send me hr interview questions in it industry

1670


What is methodological framework?

577


Explain when noclassdeffounderror will be raised ?

620


Which methods cannot be overridden in java?

539


Which is easier netbeans or eclipse?

612






What are conditionals and its types?

592


What is protected access modifier?

579


What is array list in java?

593


How do you compare arrays in java?

505


Can we store variables in local blocks?

788


How do you write a conditional statement?

521


Give example to differentiate between call by value and call by reference.

593


When should I use stringbuffer?

573


Which class is used by server applications to obtain a port and listen for client requests?

493


What is the major drawback of internal iteration over external iteration?

589