Ask Question
3 July, 12:39

Which of the following statements about list copies is not true? When you make a

a. deep copy of a list, both variables refer to their own copy of the list.

b. deep copy of a list, both variables refer to the same list.

c. shallow copy of a list, both variables refer to the same list.

d. shallow copy of a list, the list is immutable.

+1
Answers (1)
  1. 3 July, 15:54
    0
    Answer: A

    Explanation: Shallow Copy if the field to be copied is a primitive type, then the value is copied more if the field to be copied is a memory address (or an object itself), or the address is copied. Thus, if the address is changed by an object, the change will be reflected everywhere.

    Deep Copy the data is copied in both situations. This approach is more loaded and slower.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statements about list copies is not true? When you make a a. deep copy of a list, both variables refer to their own ...” in 📙 Social Studies if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers