Answer Posted / sanjay
I Agree clone() always gives deep copy.
Now I am just diverting from the tpoic. one of the question
asked during interview is : what is the difference b/w
Array.copy() and array.clone(). for me both gives deep copy
the only difference is array.clone() returns a object type
so you have to typecast it.
Please comment.............
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
Define static constructor?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
What is connection pooling and how to enable and disable connection pooling?
What is asp net application object?
What are the new web part controls in asp.net 2.0 ?
Explain the difference between Web Garden and Web Farm?
What is odata in web api?
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
What is asp.net introduction?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
Why and where this web.config file is used?
What are the advantages of the code-behind feature?
What are the differences between code behind and code inline?
In asp.net, how can you validate drop down box?