how many ways we can serialize the java object?
Answer Posted / ram
The core serialization support is in the java.io package,
and consists of two interfaces and two classes:
java.io.Serializable, java.io.Externalizable,
java.io.ObjectOutputStream, and java.io.ObjectInputStream.
Using java.io.ObjectOutputStream, you can write serialized
objects to any kind of stream: file, network, memory, etc.
Using java.io.ObjectInputStream, you can read serialized
objects from any kind of stream.
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
Which browsers work with java?
How does remove work in java?
List two java ide’s?
What is thread safe java?
Can we write any code after throw statement?
What is a two-pass assembler?
What is hashset in java?
What are user defined exceptions?
What is set string?
Is java se free?
What is runtime polymorphism or dynamic method dispatch?
Who is founder of java?
What are voids?
What is return used for in java?
What is singleton class and how can we make a class singleton?