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
What is data type modifier?
What is the difference between abstraction and encapsulation?
How to restrict a member of a class from inheriting by its sub classes?
what is the purpose of the runtime class?
How many digits is int32?
What is valid keyword in java?
What is pass by value?
What does a void function return?
What happens if an exception is throws from an object's destructor?
Does substring start with 0?
Why is flag used in java?
Is integer passed by reference in java?
What is * argv?
Explain the significance of listiterator.
What is a numeric digit?