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 are the 6 boolean operators?

1035


What does ide stand for?

888


How does system arraycopy work in java?

1064


What are the 8 primitive data types in java?

984


Why generics are used in java?

973


Can we have return statement in finally clause? What will happen?

925


What is the difference between heap memory and stack memory?

1022


Can a constructor call another constructor?

936


What is proper subset?

927


What is tochararray in java?

888


What is a class object?

931


Can we have a method name same as class name in java?

1007


Why to use nested classes in java?

1061


What is type inference in java8?

995


How to instantiate member inner class?

1034