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.

Answers were Sorted based on User's Feedback



what is the use of clone method? why user cant overwrite in sub class without its proper definatio..

Answer / 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

what is the use of clone method? why user cant overwrite in sub class without its proper definatio..

Answer / guest

clone method is used to create copies of an object.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the do while loop syntax?

0 Answers  


Can you add null to a list java?

0 Answers  


How can you say HashMap is syncronized?

14 Answers   Arete, IBM,


how we can make a write-only class in java?

0 Answers  


What is a Null object?

1 Answers   Wipro,


What is the need of transient variables in Java ?

0 Answers   MCN Solutions,


What is static import in java?

0 Answers  


Can we declare static variables in JSP page.

3 Answers   TCS,


What is slash r?

0 Answers  


Write a java program to check if a number is prime or not?

0 Answers  


Write a program to create a binary Tree ?

2 Answers  


Explain a few methods of overloading best practices in java?

0 Answers  


Categories