Can a map be a key?

You can have a Map as key but as you pointed out since a Map is (typically) mutable the key changes.

Sizin İçin Seçtik  Is HashMap case sensitive Java?

Leave a Reply

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