How can you say HashMap is syncronized?
Answer Posted / reddy edagottu
HashMap is a collection class which is a syncronized class
why because if one thread is processing one process another
thread will wait for when running thread will comeout after
then only next thread will enter into that process that's
why it is syncronized
| Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
When should a function throw an exception?
What about member inner classes?
What is multiple inheritance? Is it supported by java?
When throw keyword is used?
What is set and get methods in java?
when should you use stringbuilder class in a program?
Where is jre installed?
Which package has light weight components in java programming?
What is skeleton and stub?
How to make a class or a bean serializable?
Can we nested try statements in java?
Is singleton class immutable?
Is java se open source?
Where are local variables stored?
What is method overriding in java ?