How can you say HashMap is syncronized?
Answer Posted / rahul
yes u r correct, hashmap is not threadsafe. It is hashtable
which is synchronized.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is currentthread()?
What is variable declaration and definition?
Does constructor be static?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is final int?
Can you extend singleton class?
How to make object serializable in java?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is the functionality of the stub?
What is tree in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is meant by local variable and instance variable?
What are java methods?
What is the purpose of using javap?
Explain the use of sublass in a java program?