What happens if in the TreeMap request a value for a non-existent key. An exception will be thrown or null will be returned.
- As in the usual hashmap returns null - Roman Danilov
|
What happens if in the TreeMap request a value for a non-existent key. An exception will be thrown or null will be returned.
Source: https://ru.stackoverflow.com/questions/730736/
All Articles