Which is the most suitable Java collection class for storing various companies and their stock prices? It is required that the class should support synchronization inherently.
Choices:
- A. Hashtable
- B. HashMap
- C. LinkedHashMap
- D. HashSet
- E. TreeMap
Correct choice:
- A
Explanation: