Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is d difference between deep cloning and shallow
cloning in core java?

Answer Posted / nishant

Deep cloning - You clone the object and their constituent
parts.

Shallow cloning - You clone only the object, not their
parts. You add references to their parts

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parse method?

960


What is the difference between hashmap and hashtable? What is an interface?

1074


What is the default size of set in java?

903


How do you remove spaces in java?

974


What is final access modifier in java?

1070


What are the main uses of the super keyword?

921


What is listnode in java?

937


What is numeric data type?

927


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

912


What are the four pillars of java?

1158


How do you calculate square roots?

1097


What is a programming object?

1017


Can we have more than one package statement in the source file?

1021


What is int short for?

964


What are the advantages of encapsulation in java?

955