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
Differentiate between array list and vector in java.
Does java have extension methods?
How many types of methods are there in java?
Can we execute java program without main method?
Compare overloading and overriding?
Write a program to reverse array in place?
Is java 9 released?
What is final method?
Explain java thread life cycle.
What is immutability in java?
How does remove work in java?
What is the size of boolean variable?
Is java developer a good career?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is the use of a copy constructor?