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
What is nullpointerexception?
How can an object be unreferenced?
What is assembly language?
What is serial version uid and its importance in java?
What is better- service oriented or batch oriented solutions?
How a string is stored in memory?
What is time complexity algorithm?
Can arraylist contain null values?
Is it necessary that each try block must be followed by a catch block?
Is 0 true or is 1 true?
What is set in java?
Explain the importance of join() method in thread class?
What is the use of java?
What is a boolean used for?
Can a static class have a constructor java?