Is empty string == null?

An empty string is a string instance of zero length, whereas a null string has no value at all. An empty string is represented as “” . It is a character sequence of zero characters. A null string is represented by null .

Sizin İçin Seçtik  How do you replace an Optional null check in Java 8?

Leave a Reply

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