How do you equal null in Java?

Using equals() method of the Object class In the same way the equals() method of the object class accepts two String values and returns a boolean value, which is true if both are equal (or, null) and false if not.

Sizin İçin Seçtik  Borsada tahta kapatmak ne demek?

Leave a Reply

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