So would you agree that an object's identity is it's reference value to the reference value to its state or value such as a String's text?
Type: Posts; User: cooljava50544
So would you agree that an object's identity is it's reference value to the reference value to its state or value such as a String's text?
"All object variables are reference types, which mean they don't actually contain the data like primitive data types do. Instead, they point to the data, which is another an other area of internal...
It is from a book called murach's Java Programming.
I am not sure if an object's identity is it's location in the internal memory or a reference value that points towards its state.
Could someone please explain what it actually is?