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 does serialization work

Answer Posted / bindhu

The class whose instances are to be serialized
should implement an interface Serializable. Then pass the
instances to the ObjectOutputStream which is connected to a
FileOutputStream. This will save the object to a file...
When an object ios serialized, all the included
objects are also serialized along with the original object.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is try-with-resources in java?

1172


What are thread safe functions?

951


What is the use of protected in java?

1027


What are the differences between the constructors and methods?

1119


What is class and object in java?

1005


Can you override private or static method in java?

978


What is the purpose of tostring() method in java?

1158


Explain the importance of import keyword in java?

1012


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

1019


What is the difference between JVM and JRE?

1099


Is Java a dying language?

1086


What are actual parameters?

1035


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1455


What is an empirical question?

968


Difference between method overloading and method overriding in java ?

1087