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 data type is a string?

1014


Which is fastest collection in java?

1082


What is difference between class and object in java?

1077


Explain method local inner classes ?

1037


What is the significance of java packages?

1107


What does \ mean in regex?

1223


Can we override static methods in java?

1070


What is the use of a conditional inclusion statement in Java ?

1095


Explain all java features with real time examples

1720


When a byte datatype is used?

2210


Explain about the main() method in java?

1112


Why is stringbuffer thread safe?

1048


Does string is thread-safe in java?

1089


What is default switch case? Give example.

1008


What is exception handling in java?

1036