Explain shallow copying and depth copying.

Answer Posted / maanya

According to apple's definition:"A deep copy duplicates the objects referenced while a shallow copy duplicates only the references to those objects".

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between atomic and nonatomic in ios?

402


What is 1x 2x?

444


What is ipa?

442


What is encapsulation in ios?

438


Ellaborate viper architecture?

499






what is the difference between nonatomic & atomic ? which is thread safe and why

1010


Explain what is the stack of autorelease pools. How autorelease pool work under the hood?

1086


What is thread safe?

454


What is delegate and protocol in ios?

465


What is core data?

457


Explain your process for tracing and fixing a memory leak

2051


What is mvc in ios swift?

447


What is the difference between copies & retain in iOS operating system?

481


Can I have relationship between entities in separate stores (in case of configurations)?

462


What is oops in ios?

460