how many ways we can serialize the java object?
Answers were Sorted based on User's Feedback
Answer / manikandansit
in two ways we can serialize java object by implementing
Serializable and Externalizable interface
| Is This Answer Correct ? | 5 Yes | 0 No |
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 |
What does n mean?
What do you understand by the term singleton?
Difference between JVM and JRE?
In which order the iterator iterates over collection?
AWT event listeners extends what interface?
Is arraylist an object in java?
Is multiple inheritance allowed in Java? Why ?
String is a immutable objects . it means that string does not change........... But it will be chang......... { String s="kapil"; String s1="raj"; String s=s1; then print(.......) The String has been changed .. how it is possible and why its called immutable objects
What will happen to the exception object after exception handling?
How a variable is stored in memory?
What is == mean?
what is the Arraylist limit (maximum) by default ?
13 Answers Fidelity, PlanetSoft, Wipro,