Practice Test Geeks home

SCJP Java Collections Framework 4

What happens when you call `TreeMap.subMap(fromKey, toKey)` and then try to insert a key outside that range into the returned view?

Select your answer