Is map mutable in Java?

Mutable maps supports modification operations such as add, remove, and clear on it . Unmodifiable Maps are “read-only” wrappers over other maps. They do not support add, remove, and clear operations, but we can modify their underlying map.

Sizin İçin Seçtik  How do you initialize a map in Java?

Leave a Reply

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

Is map mutable in Java?

Mutable maps supports modification operations such as add, remove, and clear on it . Unmodifiable Maps are “read-only” wrappers over other maps. They do not support add, remove, and clear operations, but we can modify their underlying map.

Sizin İçin Seçtik  What is map interface?

Leave a Reply

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