how many ways we can serialize the java object?

Answers were Sorted based on User's Feedback



how many ways we can serialize the java object?..

Answer / manikandansit

in two ways we can serialize java object by implementing
Serializable and Externalizable interface

Is This Answer Correct ?    5 Yes 0 No

how many ways we can serialize the java object?..

Answer / 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

More Core Java Interview Questions

What are different type of exceptions in java?

0 Answers  


What does flag mean in java?

0 Answers  


What is java and why do we need it? Explain

0 Answers  


What is meant by JVM? Is JVM platform independent or not?

0 Answers   Wipro,


What is difference between ++ I and I ++ in java?

0 Answers  






What is * argv?

0 Answers  


What is the order of arraylist in java?

0 Answers  


What is widening and narrowing in java? Discuss with an example.

0 Answers   Amdocs,


Can It is possible to synchronize the constructor of a Java Class?

0 Answers  


What is numel matlab?

0 Answers  


Can a class have multiple superclasses?

0 Answers  


What is constant in programming?

0 Answers  


Categories