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
What is main difference between variable and constant?
What are classloaders?
What is integer parseint?
How do you make a thread in java?
What is Java Annotations?
Explain about object oriented programming and its features?
How to implement a multithreaded applet?
Justify your answer that you can't define a method inside another method in java, if you can then how?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
why Interface used?
What is the list interface in java programming?
What is numel matlab?
Explain the hierarchy of java exception classes?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is meant by object?