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 the use of clone method? why user cant overwrite in
sub class without its proper defination.

Answer Posted / aravind

When we want to maintaion a local copy of the object we use
clone method. This is to ensure not to modify the callers
object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give us the name of the list layoutmanagers in java?

927


What do you understand by looping in java? Explain the different types of loops.

1052


Is singleton set an interval?

973


What is a percentage sign called?

1126


What are use cases?

984


How can a gui component handle its own events in java programming?

1050


What is the static method?

1084


Difference between overriding and overloading in java?

1077


Can we create our own daemon thread?

987


Differentiate between a constructor and a method? Can we mark constructors final?

1204


Can we sort array in java?

958


What are the two main uses of volatile in Java?

1062


What happens to a static var that is defined within a method of a class?

1034


Which class is the superclass for every class in java programming?

1006


Compare java and python.

996