![]() |
VOOZH | about |
public boolean isEmpty()Parameters: This method accepts no parameters Returns: This method returns a boolean value stating if this Properties object is empty or not. Below programs show the implementation of int isEmpty() method. Program 1:
Properties: {Book=500, Mobile=5000, Pen=10, Clothes=400}
Is Properties empty: false
Current Properties: {}
Is Properties empty: true