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 / avinash

1. Hash map is not is synchornized
2. Hash map is allow null value only at once.
3. iterator is fail safe

1.Hash table is synchronized.
2. Hash table isnot allow null value.
3. enum hashtable is not.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

5065


Differentiate between stringbuffer and stringbuilder in java.

1080


What is difference between arraylist and list in java?

1131


What is the use of generics? When was it added to the Java development Kit?

1066


How do you use nextline in java?

1022


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1546


What is a bufferedreader?

1163


Is vector synchronized in java?

1055


What’s the difference between applets and standalone program?

1107


Where can I find jdk in my computer?

1032


How is hashcode calculated in java?

1086


How the metacharacters are different from the ordinary characters?

1065


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1209


Can we have 2 main methods in java class?

1067


What is constructor chaining in java?

1118