What is difference between hash mapping and hash table?

Answer Posted / murali.s

hashtable is a Synchronized.
hashmap is not a Synchrobnized.
Hashtable doesn,t accept null key,values
Hashmap accept null key,values

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about interrupt() method of thread class ?

655


How does compareto method work?

518


Can we call the constructor of a class more than once for an object?

619


Is static a keyword in java?

519


What is an enumeration?

566






How to create a custom exception?

567


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

544


What is parsing a string?

586


What is a website container?

496


What are autoboxing and unboxing? When does it occur?

530


Why map is used in java?

569


What is classes in java?

514


Can an interface implement another interface?

564


Which is better 64 bit or 32 bit?

502


How to sort array in descending order in java?

506