In Java, is it an existing object on the heap?

In Java, is it an existing object on the heap?

I try to understand the difference between an uninitialized local variable (what is not compiled) and an initialized null (what is compiled)

Solution

Look here:

Java IAQ: an infrequently answered question: is null an object?

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>