Is null a object in Java?

No , null is not an object .It is a reference type and its value does not refer to any object and so there is no representation of null in memory.

Sizin İçin Seçtik  What happens if object is null in Java?

Leave a Reply

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