Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Difference between HashMap and HashTable
This question oftenly asked in interview to check whether candidate understand correct usage of collection classes and aware of alternative solutionshttp://javarevisited.blogspot.com/2010/10/difference-between-hashmap-and.html
Total Hits: 3127
Total Votes: 24 votes
Average Rating: 2.5 out of 5
Category: JAVA/Collections
Description:
This question oftenly asked in interview to check whether candidate understand correct usage of collection classes and aware of alternative solutions available.1. The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls. (HashMap allows null values as key and value whereas Hashtable doesn't allow nulls).
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |




16.67%

16.67%

16.67%

16.67%

16.67%