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
can used Protected Class outside Function.?
What is natural ordering in java?
What is the use of private static?
What are the common uses of "this" keyword in java ?
Explain the concept of proper inheritance?
Explain access specifiers?
What is concurrent hashmap and its features?
What is %d in printf?
What is the size of int?
When should a function throw an exception?
What is the difference between actual and formal parameters?
Why runnable interface is used in java?
Can we execute a program without main?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What is continuity of a function?