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 / dsr
Collections.synchronizedMap(HashMap object)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why main method is called first in java?
What is package protected in java?
What is string pool?
What is json parser in java?
What is the intersection and union methods?
Can constructor be protected in java?
Is void a keyword in java?
What is the difference between sop and work instruction?
Which methods cannot be overridden in java?
Can an interface have a class?
Explain thread in java?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is the final variable?
Explain all java features with real time examples
What is java english?