Answer Posted / bindhu
The class whose instances are to be serialized
should implement an interface Serializable. Then pass the
instances to the ObjectOutputStream which is connected to a
FileOutputStream. This will save the object to a file...
When an object ios serialized, all the included
objects are also serialized along with the original object.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are data structures in java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is a parameter used for?
How would you convert bytes to string?
What does || || mean in math?
How many bits is a word?
Is break statement can be used as labels in java?
What happens when main () method is declared as private?
What is functional interface in javatpoint?
What is the default execution method in java?
What is http client in java?
Differentiate between run time error and syntax error.
What is class array in java?
Can you tell me range of byte?
How to create an interface?