Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Core java - Interview Questions and Answers for 'Edgeverve systems' - 2 question(s) found - Order By Newest | ||||
| ||||
Ans. ConcurrentHashMap is a hashMap that allows concurrent modifications from multiple threads as there can be multiple locks on the same hashmap. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   collections   hashmap   map   concurrenthashmap   concurrenthashmap  concurrency   general electric   ge Asked in 32 Companies   rare | ||||
Related Questions | ||||
What is ConcurrentModificationException ? | ||||
What is a BlockingQueue? | ||||
What is concurrent interface ? | ||||
What is ConcurrentLinkedDeque ? | ||||
What is CopyOnWriteArrayList ? | ||||
What are the advantages and disadvantages of CopyOnWriteArrayList ? | ||||
Name few Concurrent Collection Classes ? | ||||
Difference between concurrentHashMap and HashTable ? | ||||
isnt the use of HashTable and ConcurrentHashMap the same, i.e providing synchronized map collection ? | ||||
Frequently asked in CTS ( Based on 2 feedback ) | ||||
| ||||
Ans. Comparable interface is used for single sequence sorting i.e.sorting the objects based on single data member where as comparator interface is used to sort the object based on multiple data members. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   java.util   comparable   comparator   collections Asked in 23 Companies basic   frequent | ||||
Related Questions | ||||
What is comparator interface used for ? | ||||
Sort a List of Objects using comparable and comparator | ||||
What is a comparator ? | ||||