Click here - / @interviewdot to get notifications. Java Interview Question And Answer How to Synchronize HashMap In Java Interview Question
A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com
Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
HashMap is not synchronized internally i.e if multiple threads access/modify the contents of HashMap,then there is a possibility of inconsistent data in HashMap-- hence its not thread safe.
So before using the HashMap in a multiple thread environment ,it should be synchronized.
Map m = Collections.SynchronizedMap(new HashMap(...));
In questa pagina del sito puoi guardare il video online Java Interview Question And Answer How to Synchronize HashMap In Java Interview Question della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Interview DOT 08 dicembre 2013, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,222 volte e gli è piaciuto 8 spettatori. Buona visione!