JavaMapremove

Removes the element at the specified index or by value.

Syntax

map.remove(key)