what is hashmap& hashtable with example?



what is hashmap& hashtable with example?..

Answer / siva kumar g.

Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is java regex?

0 Answers  


What are the advantages of defining packages in java?

0 Answers  


What is Java Classloader?

1 Answers   Phantom Technologies,


What is treeset in java?

0 Answers  


What is flag in python?

0 Answers  






what is the messsage u r going to get from an objectoriented programing?

0 Answers   MGL,


What is java in simple terms?

0 Answers  


Need 2+ yrs experienced java techinical question papaer for company Iflex

1 Answers   TCS,


Does constructor return any value?

0 Answers  


explain the difference between jdk and jvm?

0 Answers  


Difference between == and .equals() ?

0 Answers  


Can we restart a thread already started in java?

0 Answers  


Categories