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 Clonable,and serializable interface?

Answer Posted / amit singh

serialzable and cloneable interface both are marker
interface
Cloneable interface:
if any class implements this interface .so this interface
its just a indicator or marker that a particular class
going touse clone() of the Object class to field tio field
copy of the instance ofthe particular class.


Serializable:
its also the interface .if any class implements it so means
that this particular class object convert in byte and going
to save in a locakl disk
and also its useful to send object in a Byteform to the
network.
and at the another network it will convert from byte to
Object of particular type.

Is This Answer Correct ?    48 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you compare values in java?

1096


What is an infinite loop?

1345


What is main difference between variable and constant?

1084


What are the important methods of java exception class?

1211


Break statement can be used as labels in java?

1064


How will you print number in reverse (descending) order in BST.

1043


What is the transient keyword?

2354


What is difference between arraylist and list in java?

1134


What are inbuilt functions?

1048


What is a void method?

972


What is predicate in java?

1104


How will you reverse a link list without using recursion?

1084


What is parseint?

1075


Is java still relevant?

1027


What is ‘is-a ‘ relationship in java?

1120