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
explain what is transient variable in java?
What is string data?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is boolean data type in java?
What is the purpose of extern variable?
How to check if a list is sorted in java?
Is java se open source?
How to call one constructor from the other constructor ?
Can a constructor be protected?
Why deletion in linkedlist is fast than arraylist?
What is the maximum length of a url?
What is tochararray in java?
What are the different types of inner classes?
what is the major difference between linkedlist and arraylist in java?
What is defined as false sharing in the context of multithreading?