how can we synchronize Hash map?

Answer Posted / prabhu

hasgmap hs=new hashmap();
vector v =new vector (hs);

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the significance of public, private, protected class?

626


Give some features of interface?

562


What things should be kept in mind while creating your own exceptions in java?

599


What do you mean by ordered and sorted in collections in java?

527


Does the order of public and static declaration matter in main method?

590






What exactly is a .class file?

557


Can we overload the methods by making them static?

478


How to declare objects of a class ?

566


what do you mean by stream pipelining in java 8? Explain

503


How do you declare an array in java?

497


Explain what do you mean by functional overloading in java?

535


How to implement an arraylist in java?

488


What sorting algorithm does javascript use?

510


What is void data type?

556


How do you control extraneous variables?

483