What Do you Mean By Object Serialization in java.
Answer Posted / nowsheen tariq
Serialization is a process of writing the state of the
object in a stream. The state of the object (information
available in the object)will be held in the instance
variable (not in the static variables)
There are various streams like
ByteArrayOutputStream, FileOutputStream,SocketOutputStream
all these streams can be used to store data to various
destinations like memory,file and someother program.
writeObject() method is for carryout the operation of
serialization.
| Is This Answer Correct ? | 29 Yes | 1 No |
Post New Answer View All Answers
How can the applets be displayed in the jsp? Explain with an example.
What is action tag in jsp?
How we can include the result of another page in jsp?
Explain the jsp life cycle?
Why is used in jsp?
How is jsp used in the mvc model?
What are the different types of directives available in jsp?
Why do we use jsp?
Why does jcomponent have add() and remove() methods but the component does not?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
Mention the jstl core tags.
How do I use a scriptlet to initialize a newly instantiated bean?
What is the scope of response object?
Is jsp static or dynamic?
Define Composition.