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 difference between a choice and a list?

1128


Write a program in java to create a doubly linked list containing n nodes.

1020


What is lambda expression in java?

1104


How are this() and super() used with constructors in java programming?

1115


what is the volatile modifier for? : Java thread

1057


What best practices should you follow while writing multithreaded code in java?

1107


What is appletviewer?

1094


What are actual parameters?

1090


What is type inference in java8?

1100


What is serialversionuid?

1151


what is method reference in java 8?

1086


Is arraylist sorted in java?

1057


What is multithreading and its advantages?

1125


What is the difference between the paint() and repaint() methods?

1105


How can we avoid including a header more than once?

1073