Maps in Go are not _____ by default, which means the order of keys when iterating over a map can change.

  • sorted
  • resizable
  • iterable
  • synchronized
In Go, maps are not sorted by default. This means that the order of keys in a map is not guaranteed, and it can change when iterating over the map. If you need a specific order, you must manually manage it. The correct option is (1) sorted.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *