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 deserialization and how do we do deserialization?

Answer Posted / javamasque

Deserialization is a process of retrieving object from byte stream. We have to fallow below steps for de-serialization
1. The object to be serialized need to implement java.io.Serializable / java.io. Externalizable interface.
2. Generate serial version id for that serializable object.
3. ObjectInputStream is used to read [readObject() or readExternal()] object.
4. FileInputStream is used to read from flat file.
5. The flat file extension should be (<file-name>.ser)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many digits is int32?

980


What are the types of methods in java?

1117


What is class level lock ?

1034


Is array an object in java?

964


what are different ways in which a thread can enter the waiting state? : Java thread

966


Can we start a thread twice in java?

985


Can vector have duplicates in java?

951


Why do I need to declare the type of a variable in java?

1082


Explain Basics of OOP Language in java

1062


Define a package.

1086


What is appletviewer?

1037


Explain java coding standards for constants?

1017


How do you escape in java?

1081


What is unmodifiable list in java?

962


What is http client in java?

1090