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  How do I check if a stream is not null?

Leave a Reply

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