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 / ravikiran

Collections.synchronizedMap()

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us something about an iterator.

554


Is 0 true or false?

519


How to reverse a string in java?

534


What is the difference between preemptive scheduling and time slicing?

602


What is adapter in java?

523






How does singleton class work?

537


what are the disadvantages of indexes in oracle?

1871


What is Applet Stub Interface ?

1978


Can we initialize the final blank variable?

594


Why char array is preferred over string for storing password?

597


How is the marker interface used in Java?

616


What is string data type?

563


How do you start a thread?

558


What is Java Reflection API? Why it’s so important to have?

611


Why is java called the platform independent programming language?

585