what is difference betwwen hashmap and hashtable ?

Answer Posted / ajay yadav

Hash Map allows null values.
Hash Table dont allows null values.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by buffering?

551


Which is the best approach for creating thread ?

723


What is the static block?

585


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

526


What's the base class of all exception classes?

565






What is the use of StringTokenizer class?

607


Is 64bit faster than 32 bit?

577


What is a predicate method?

562


What's the purpose of static methods and static variables?

593


How do I know if java is installed?

517


Can main() method in java can return any data?

642


How to find the index of the largest number in an arraylist java?

517


How do you allocate memory to object?

515


What are the different types of inner classes?

532


Difference between string, string builder, and string buffer?

526