Properties isEmpty() method in Java with Examples The isEmpty() method of Properties class is used to check if this Properties object is empty or not. Returns: This method returns a boolean value stating if this Properties object is empty or not.
Read moreIs object null Java?
Is null an Object in Java? No it’s not , and for those who wonder why such a question, there are languages where null is indeed an object like any, for example Ruby. In Scala, which is very meticulous about types, there is a type Null (a trait, actually) having a single instance null .
Read moreIs == null in Java?
7. == and != The comparison and not equal to operators are allowed with null in Java . This can made useful in checking of null with objects in java.
Read more