Difference between object reference and variable reference in java
Answers
Answered by
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
Hindi,
9 days ago
Math,
9 days ago
Biology,
18 days ago
Chemistry,
18 days ago
Math,
9 months ago
Social Sciences,
9 months ago
Social Sciences,
9 months ago