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 / dbin

The problem with your own functionality is with deserialization process , when reconstructing the new objects that are equal to the objects you are trying to save....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the main difference between c++ and java?

1045


What is the do while loop syntax?

988


Do we have pointers in java?

906


What is java util function?

1009


What is keyset in java?

1025


What are the classes of java?

931


Can two objects have same hashcode?

953


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

924


What is a constructor overloading in java?

992


Is alive and join method in java?

1073


Is it necessary for the port addresses to be unique? Explain with reason.

978


If a class is declared without any access modifiers, where can the class be accessed?

1017


What is null in java?

922


What is the difference between math floor and math round?

984


Why volatile is used in java?

998