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 will you override default serialization mechanism in java

Answer Posted / sharmila

Serializable is a marker interface. But you may wish to
control on how an object is serialized instead of using the
default mechanism. In such case add implementations of the
readObject() and/or writeObject() methods to the class being
serialized and override default serialization mechanism.

Also, instead of using Serializable interface,
Externalizable interface can be used

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reverse a word in java?

1078


How do you reverse a string in java?

1122


Explain methods specific to list interface?

976


What are the basic control structures?

987


What is the java idl system?

1040


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

929


Difference between java and javascript

1092


What package is math in java?

998


What is flush buffer?

1047


how to write a program for sending mails between client and server

2072


Why do you canvas?

1042


What does snprintf return?

1000


Explain reverse a linked list recursive java solution?

984


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

949


Can we inherit inner class?

1017