Question: what is the difference between an object and an object reference?
Answer: difference between object and reference. ... The objects are created in the heap area and, the reference obj just points out to the object of the Student class in the heap, i.e. it just holds the memory address of the object (in the heap).