is it similar to copy pointer and copy objects in C?
I didnt make my statement clear enuf
in this case, a shallow clone will make an extra copy of Vector object. ( only container object is copied)
however, a deep clone will create memory for Vector object and all String objects inside this Vector. ( container and contained objects are all duplicated)
however, a deep clone will create memory for Vector object and all String objects inside this Vector. ( container and contained objects are all duplicated)