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(...));
En esta página del sitio puede ver el video en línea Java Interview Question And Answer How to Synchronize HashMap In Java Interview Question de Duración hora minuto segunda en buena calidad , que subió el usuario Interview DOT 08 diciembre 2013, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,222 veces y le gustó 8 a los espectadores. Disfruta viendo!