Can a string be equal to null?

You cannot call any methods (like equals() ) on a null object .

Sizin İçin Seçtik  What is a null in Java?

Leave a Reply

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