how can we synchronize Hash map?
Answers were Sorted based on User's Feedback
Answer / prabhu
hasgmap hs=new hashmap();
vector v =new vector (hs);
Is This Answer Correct ? | 2 Yes | 10 No |
What happens if an exception is throws from an object's destructor?
How do you use substring in java?
which class is the wait() method defined in? : Java thread
Is 0 true or false in java?
What does n mean?
What is boolean used for?
What is proper subset?
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
What is the exact difference in between Unicast and Multicast object?
What are the advantages and disadvantages of object cloning?
Is passing by reference faster?
What are design patterns and please explain?