Swee-heet! "Ackbar"
isn't a key but a value, so nothing gets removed. Therefore, isEmpty()
returns false
and the contents of fleet
are printed.
Argh, it was a trap! "Ackbar"
isn't a key but a value, so nothing gets removed. Therefore, isEmpty()
returns false
and the contents of fleet
are printed.