Q. Discuss the working of copy() if
(i) The values are of immutable types,
(ii) The values are of mutable types.
Answer =
(i) If the values are immutable then changes are not reflected in the copies.
(ii) If the values are mutable then changes are reflected in the copies.
thank you for your answers
ReplyDeleteWelcome : )
Deletethank you for your answers
ReplyDeleteWelcome : )
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )