An object reference in Java is a variable that holds the memory address of an object.
In Java, objects are accessed via references, which point to the memory location where the object is stored. For example, when you create a Product object, the variable holds a reference to the actual object in memory, not the object itself.
Additional Notes
How would you explain an object reference in a Java interview?