📜  变量不能被取消引用java代码示例

📅  最后修改于: 2022-03-11 14:52:35.464000             🧑  作者: Mango

代码示例1
Java has two different types of variables: primitive and objects and only objects are reference types. The type int is a primitive and not an object. Dereferencing is the process of accessing the value referred to by a reference . Since, int is already a value (not a reference), it can not be dereferenced.