What is the concept of handle in Java?


Posted by Rich on 2022-07-18

I was googling the differences between primitive and object in Java. One of the difference is that primitive stores value and object stores handle. So I wonder what is handle? I found this post on stackoverflow.
The usual term is "object reference" (or just "reference"), rather than "handle."
There are more details in that post.










Related Posts

F2E合作社|人員介紹卡片|網頁切版

F2E合作社|人員介紹卡片|網頁切版

[第十六週] 從收納初探 object oriented

[第十六週] 從收納初探 object oriented

JS30 Day 16 筆記

JS30 Day 16 筆記


Comments