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?



what is the use of Clonable,and serializable interface?..

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

More Core Java Interview Questions

what is the difference between ArrayList and Vector

19 Answers   KPIT, Sasken, Satyam, Span Infotech, Wipro,


What are concepts of OOPS and how are they implemented in Java?

2 Answers   KPIT,


What are internal variables?

0 Answers  


What is the longest unicode character?

0 Answers  


what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?

2 Answers   Satyam,


How do you identify if jvm is 32-bit or 64-bit from java program?

0 Answers  


What does this () mean in constructor chaining concept?

0 Answers  


How to do encapsulation in java?

0 Answers  


What are wrapped classes?

7 Answers   Samsung,


What is I/O Filter?

2 Answers   TCS, WAX,


What are the advantages of encapsulation in java?

0 Answers  


Why do you canvas?

0 Answers  


Categories