how can u apply shallow cloning and deep cloning to create
object?
Answer / kiran sonaje
Hi,
Please refer below link for shallow cloning
http://www.java2s.com/Code/Java/Language-
Basics/ShallowCopyTest.htm
and for deep cloing
http://www.java2s.com/Code/Java/Language-
Basics/DeepCopyTest.htm
Please please observe clone method to get more
clarification between deep and shallow cloning
| Is This Answer Correct ? | 2 Yes | 3 No |
Can we have multiple public classes in a java source file?
What do you understand by java?
What is multiple inheritance & can we implement it in java?
What types of inheritance does Java support?
how to print the below in java?thanks in advance.... * * * * * * * *
how to prepare for IT Officers Interview in Banks
0 Answers TATA, Tata Steel Limited,
What is class forname used for?
What are the different conditional statements?
How many bits is size_t?
What are predefined functions?
How can i add a button in applet in java ???
My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in IE then, how it get Login.JSP Page exactly? what are the processes will happen from when we submit the URL to get Login.jsp?