Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the difference between shallow copy and deep copy?
What is the difference between shallow copy and deep copy?
✍: Guest
Shallow copy shares the same reference with the original object like cloning, whereas the deep copy get a duplicate instance of the original object. If the shallow copy has been changed, the original object will be reflected and vice versa.
2012-08-24, 2578👍, 0💬
Popular Posts:
How do I use a scriptlet to initialize a newly instantiated bean? A jsp:useBean action may optionall...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
Does there exist any other function which can be used to convert an integer or a float to a string? ...
How to set a HTML document's background color? document.bgcolor property can be set to any appropria...
What is the significance of Finalize method in .NET? .NET Garbage collector does almost all clean up...