How can you say HashMap is syncronized?
Answer Posted / reddy edagottu
hasmap is syncronized why because if hashmap is processing
by one thread another thread will wait till the thread
comeout which currently processing after than only next
thread process the hashmap
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is class??
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What are static blocks in java ?
Why destructor is not used in java?
Can we catch more than one exception in a single catch block?
Does windows 10 need java?
Is zero a positive integer?
Explain how to force the garbage collection in java.
what is singleton in java?
How do you print array in java?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is a prefix function.write down a code to compute prefix function.
What is the difference between jdk and jre?
What is java life cycle?