Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between HashMap And HashTable?

Answer Posted / stalin

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 doesnt
allow). HashMap does not guarantee that the order of the map
will remain constant over time. HashMap is unsynchronized
and Hashtable is synchronized

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of static in java?

1086


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1424


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1031


What is parsing a string?

1086


Can we clone singleton object in java?

965


What is void class in java?

912


What is java virtual machine? Explain

965


What is the use of singleton?

905


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1027


Is heap stored in ram?

902


What is a final class in java?

967


Explain the difference between association, aggregation and inheritance relationships.

1025


Why are lists ordered in java?

965


What is the char data type?

938


How we create object in copy constructor?

1067