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...

Difference between Hash Table and Hash Map?

Answer Posted / santosh nayak

HashMap hm=new HashMap();
hm.put("s","s");
hm.put("a","a");
hm.put(null,"r");
hm.put(null,"t");
hm.put("e","e");

This is the code where we can allow multiple null key values
in HashMap.

Is This Answer Correct ?    1 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

2155


What do you understand by abstract classes?

1075


What is a lightweight component?

1023


What is the meaning of I ++ in java?

1184


What are anonymous inner classes?

1010


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

988


What is the difference between a choice and a list?

1080


What is java in detail?

1065


Which method returns the length of a string?

1036


What is anonymous inner class?

1083


Can you instantiate the math class in Java?

1090


Can you have two constructors in java?

986


What are the 4 versions of java?

1166


In java, how we can disallow serialization of variables?

994


What is string immutability?

1105