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 hashmap& hashtable with example?



what is hashmap& hashtable with example?..

Answer / siva kumar g.

Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More Core Java Interview Questions

what happens when we add the objects morethan the size limit to a hashmap

1 Answers  


What is an argument java?

0 Answers  


What is hashmap and map?

0 Answers  


What is super constructor?

0 Answers  


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

0 Answers  


What is difference between local variable and global variable?

0 Answers  


What is compareto () in java?

0 Answers  


What are class types in java?

0 Answers  


Define an applet in java?

0 Answers  


What comes to mind when someone mentions a shallow copy in java?

0 Answers  


What is int short for?

0 Answers  


What is an immutable object?

0 Answers  


Categories