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

How can a gui component handle its own events?

1115


How do you allocate memory to object?

1002


Can we use catch statement for checked exceptions?

966


Can we call thread start () twice?

966


What is the intersection and union methods?

1025


Can we have 2 main methods in java class?

1024


explain copyonwritearraylist and when do we use copyonwritearraylist?

951


What is the difference between normal report & matrix report?

1110


What is scanner in java?

956


Can we override protected method in java?

1069


What does this () mean in constructor chaining concept?

1126


Tell me are there implementations for sorting and searching in the java libarary?

1038


What are the java ide’s?

1032


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1041


What is difference between classpath and path variables in java?

1200