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

What is a singleton puppy?

936


How to create a fecelet view?

950


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

896


What is bool mean?

1020


Explain about main thread in java?

1043


What is difference between float and double?

922


does java support pointers?

950


Why should we use singleton pattern instead of static class?

901


How many types of assembly languages are there?

928


What are thread priorities and importance of thread priorities in java?

1078


Tell me about different OOPS concepts.

960


Does hashset allow duplicates in java?

1066


Write a program to solve producer consumer problem in java?

967


What are variable arguments or varargs?

967


What is indexof in java?

951