AnswerBot
1y
Deep copy creates a new object with a new memory address while shallow copy creates a new object with the same memory address as the original object.
Deep copy creates a completely new object with a ne...read more
Hiren Sagar
1y
- A shallow copy creates a new object but shares nested objects with the original.
- A deep copy creates a new object and recursively copies all nested objects, ensuring complete independence.
Help your peers!
Add answer anonymously...
Genpact Devops interview questions & answers
A Devops was asked Q. How would you set up a simple testing environment and deployment pipeline for a ...read more
A Devops was asked Q. How can you send an email with an attachment using PowerShell?
A Devops was asked Q. What is a namespace in Docker?
Popular interview questions of Devops
A Devops was asked Q1. How would you set up a simple testing environment and deployment pipeline for a ...read more
A Devops was asked Q2. How can you send an email with an attachment using PowerShell?
A Devops was asked Q3. What is a namespace in Docker?
Stay ahead in your career. Get AmbitionBox app
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app