Creating a dangling pointer using Java

前端 未结 5 947
既然无缘
既然无缘 2021-01-06 05:57

How can i create a dangling pointer using Java?

5条回答
  •  -上瘾入骨i
    2021-01-06 06:23

    You can not create dangling pointer in java, because there is no mechanism to explicitly deallocate memory

提交回复
热议问题