how many types of cloning?

Answer Posted / krishnachaitanya

Cloning is done in two types:
1.Shallow Cloning
2.Deep Cloning

depends on how you override clone()in you class

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the null?

541


What is the difference between throw and throws keywords?

576


What is a method header?

550


Why call by value prevents parameter value change?

585


How to read and write image from a file ?

561






How to implement an arraylist in java?

508


What is the difference between an object-oriented programming language and object-based programming language?

573


What is hashset in java?

531


Can you inherit a constructor java?

577


Can a constructor have different name than a class name in java?

594


What is finalize method?

580


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1599


What is numeric data type?

529


How many bits are in a sentence?

584


What is the difference between a scrollbar and a scrollpane?

565