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

What is the size of boolean variable?

1067


How variables are declared?

963


Can I import same package/class twice?

947


How do you define a parameter?

1027


What is ‘is-a ‘ relationship in java?

1014


What is the generic function?

977


what is daemon thread and which method is used to create the daemon thread? : Java thread

960


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1252


Why string is not thread safe?

1000


What is an inner class in java?

959


Can private class be extended java?

1011


What do you mean by ordered and sorted in collections in java?

988


What are methods?

1016


How do you add an element to a hashset in java?

997


What does index mean in java?

985