Which One is optimal to choose ?
Syncronized hash map or Hash table with single thread model?
How can a hash map syncronized with out using syncrozed
blocks in programm?
Answer Posted / dsr
Collections.synchronizedMap(HashMap object)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is jvm? Why is java called the platform independent programming language?
What is the difference between notify and notifyall method?
How can we avoid including a header more than once?
What is yield () in java?
What do you mean by thread safe?
Explain reverse a linked list recursive java solution?
What happens if we don’t override run method ?
Explain the difference between an Interface and an Abstract class?
What is the difference between super class & sub class?
What do you mean by exception handling in Java?
Is integer passed by reference in java?
How do we access static members in java?
What is the difference between preparedstatement and statement in java?
What do you mean by garbage collection used in java?
What are the differences between Java 1.0 and Java 2.0?