oleObjects)(6pts) Define the following three phrases:
Reference copy:
A reference copy is a copy of an object that simply refers to the original object. Any changes made to the reference copy will also affect the original object.
Shallow copy:
A shallow copy is a copy of an object that creates a new object but references the same memory locations as the original object for its attributes. Changes made to the attributes of the shallow copy will affect the original object, but changes made to the object itself will not.
Deep copy:
A deep copy is a copy of an object that creates a completely independent copy with its own memory locations for all attributes. Changes made to the deep copy will not affect the original object.