Answers for "treemap vs hashmap"

2

treemap vs hashmap

- TreeMap doesn't have null key and keys are sorted
 Can contain only unique keys and keys are sorted in ascending order.
 
 v- HasHMap can have null key, order is not guaranteed
Posted by: Guest on January-06-2021

Browse Popular Code Answers by Language