![]() |
VOOZH | about |
boolean isEmpty()Parameters: This method has no argument. Returns: This method returns True if the map does not contain any key-value mapping. Below programs show the implementation of int isEmpty() method. Program 1:
{}
true
{1=One, 3=Three, 5=Five, 7=Seven, 9=Ninde}
false