Shallow and Deep Copying Example
Shallow copy: copies only the reference
Employee second = empRef;
Deep copy: constructs a new object and copies the values of the other object's instance variables.
Employee deepCopy = new Employee(empRef.getName(), empRef.getSalary());