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 need to implement Serializable interface (with
no methods) for objects which are to be serialized ?
We can write our own functionality which writes objects to
streams then why we need to implement and tell JVM that
which objects can be serialized.

Answer Posted / rohit

Serializable concept is related with the state persisitence
of the object.
Example:---
When u send the some object on internet it needs to be
serialized bcz before sending the object it first converted
in to byte & desrerialization is the process is used to get
it back in its original form

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a method be static?

963


Why set is used in java?

1018


Explain the difference between map and flatmap stream operation?

1265


Does collectionutils isempty check for null?

1423


What are the six ways to use this keyword?

1061


Which package is used for pattern matching with regular expressions?

1114


What is a local, member and a class variable?

1038


What is numel matlab?

1337


What is null statement?

1012


What is unmodifiable list in java?

960


Difference between ‘>>’ and ‘>>>’ operators in java?

1124


What is boolean strategy?

1133


What is java util concurrentmodificationexception?

910


How do you implement tree mirroring in java?

1077


What is a for loop in java?

1044