how can we synchronize Hash map?

Answer Posted / vikram kc

Collections.synchronizedMap(hashMap)

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of throws keyword in java?

545


What are java threads?

594


How does linkedlist work in java?

489


What is command line argument in java?

577


What is the difference between a break statement and a continue statement?

570






What are the Class Libraries ?

570


Is empty set an element of empty set?

575


When should you use arraylist and when should you use linkedlist?

470


What does null mean in java?

606


Is break statement can be used as labels in java?

483


How can we make string upper case or lower case?

578


Explain the access modifiers for a class, method and variables?

628


Explain about complier design(phases)

597


What classes of exceptions may be caught by a catch clause in java programming?

673


what is meant by abstract class?

625