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
What are encapsulation, inheritance and polymorphism?
How do you remove all elements from an arraylist in java?
What is compareto?
how does multithreading take place on a computer with a single cpu? : Java thread
What are different data structures in java?
Explain the difference between transient and volatile in java?
How we can execute any code even before main method?
What is string [] args?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What are the different types of inheritance in java?
What is linkedlist in java?
What is a lambda expression ? What's its use ?
What is the Concept of Encapsulation in OOPS
Explain restrictions on using enum?