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(...));
Nesta página do site você pode assistir ao vídeo on-line Java Interview Question And Answer How to Synchronize HashMap In Java Interview Question duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Interview DOT 08 Dezembro 2013, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,222 vezes e gostou 8 espectadores. Boa visualização!