Results 1 to 3 of 3

Thread: What is a Shallow Copy?

  1. #1
    Senior Member
    Join Date
    Jun 2015
    Posts
    187
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What is a Shallow Copy?

    A shallow copy means the contents (each array element) contains references to the same obj ct as the elements in the original array

  2. #2
    Junior Member
    Join Date
    Aug 2016
    Location
    USA
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Shallow copy is a bit-wise copy of an object. A new object is created that has an exact copy of the values in the original object. If any of the fields of the object are references to other objects, just the reference addresses are copied i.e., only the memory address is copied.

  3. #3
    Member
    Join Date
    Dec 2018
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Deep Copy. A deep copy copies all fields, and makes copies of dynamically allocated memory pointed to by the fields. A deep copy occurs when an object is copied along with the objects to which it refers. Shallow Copy.

Similar Threads

  1. What is a Deep Copy?
    By beingchinmay in forum Web Programming
    Replies: 2
    Last Post: 01-08-2019, 12:17 PM
  2. [WSO] – Copy-Paste CPA Method
    By rakesh in forum Freebie downloads
    Replies: 0
    Last Post: 07-05-2013, 08:27 AM
  3. [WSO] – Cut Copy Paste
    By jyoti in forum Freebie downloads
    Replies: 0
    Last Post: 07-04-2013, 12:38 PM
  4. Dan Kennedy – Personality in Copy
    By manpreet in forum Freebie downloads
    Replies: 0
    Last Post: 06-29-2013, 11:15 AM
  5. What is SERP copy?
    By linaliza930 in forum Internet Marketing Discussions
    Replies: 1
    Last Post: 01-14-2013, 02:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •