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...

How many methods does cloneable interface contains?

Answer Posted / ram

@Dhinesz :

First of all, a marker interface is an interface by implementing that interface the class will get special behaviour. And it doesn't mean that, marker interface always not have any methods. Ex: Runnable interface is a marker interface and it has run().

Clone() method is a part of Object class, and if you implement cloneable interface for your class, it will force you to override the clone().

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is better- service oriented or batch oriented solutions?

2196


What happens if we don’t override run method ?

989


Explain the difference between runnable and callable interface in java?

1034


What is finally block?

1037


What is the purpose of return statement?

1044


Can we create an object of static class in java?

1003


What is the purpose of void class?

1051


What is the properties class?

1079


What is command line used for?

1082


What's the difference between int and integer in java?

1140


What is nan in java?

971


Why javac is not recognized?

922


Does collectionutils isempty check for null?

1405


What's the purpose of static methods and static variables?

1081


What is string subsequence method?

1108