Difference between Hash Table and Hash Map?
Answer Posted / ranganathkini
Hashtable and HashMap are more less similar to each other
except that the HashMap is unsynchronized and allows nulls
whereas Hashtable is synchronized and does not permit nulls.
| Is This Answer Correct ? | 27 Yes | 2 No |
Post New Answer View All Answers
Why are there no global variables in java?
What is the difference between error and an exception?
What is a bufferedreader?
Can we declare an array without size in java?
How do you identify independent and dependent variables?
What is threaded programming and when is it used? : Java thread
Can we declare a class as abstract without having any abstract method?
What is object class in java?
Why strings in java are called as immutable?
What is difference between adapter class and listener?
What will be the initial value of an object reference which is defined as an instance variable?
In the below example, how many string objects are created?
Can we have try block without catch block?
What is function and method in java?
What is the final field modifier?