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 boxing and unboxing in asp.net?
Explain the use of fragment caching.
What is asp.net web pages?
What is event bubbling?
What can you do with asp.net?
What are the Types of chaching. How to implement caching
Is asp.net mvc front end or backend? : Asp.Net MVC
How would you turn off cookies on a page of a website?
What is the advantage of using Windows authentication in a Web application?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
What is Razor View Engine
What are Master Pages in ASP.NET? or What is a Master Page?
What are url fragments?
Write a code for passing ArrayList in Web API?
Can we have multiple web config files for an asp.net application?