Computer Science, asked by pavithradharanivkuma, 18 days ago

Difference between object reference and variable reference in java

Answers

Answered by litzSofil
1

Answer:

A reference is just a variable that points to the location of the object in memory. ... An object is never directly seen within the program, instead, the reference variable is assigned, and a reference to the object is created. An object is a real – world entity that holds some memory.

Similar questions