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 is the use of arraylist class in java?
what state does a thread enter when it terminates its processing? : Java thread
Can a static method be final?
Why is a constant variable important?
Is java type safe?
What is meant by object oriented programming – oop?
What is unicode used for?
Explain the selection sort algorithm?
Why null value is used in string?
What are unchecked exceptions in java?
what is bmg file and how to create that files?what will it contailn?
Are there structures in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What are the topics in core java?
How do you download stubs from Remote place?