Question: what is the difference between instance and reference in java?
Answer: Instance: This represents the values of data members of a class at a particular time or Instance refers to the copy of the object at a particular time. Reference: A reference is just like a pointer pointing to an object. ... Reference = A variable that holds bit patern which points to the Object in the Memory (Heap).