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

Java 學習筆記 14 – Collection 架構 Part.1 - 泛型

Java 學習筆記 14 – Collection 架構 Part.1 - 泛型

Python 程式設計入門共學營學習計劃

Python 程式設計入門共學營學習計劃

一些不太好記卻很好用的 CSS 屬性

一些不太好記卻很好用的 CSS 屬性


Comments