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
Which jsp implicit objects are thread safe?
What is difference between page and pagecontext in jsp?
How is scripting disabled?
Explain the advantages in jsp?
What is difference between sendredirect and requestdispatcher?
What are the two kinds of comments in jsp and what's the difference between them ?
Differentiate between response.sendredirect(url) and
List the different scope values for the
Can constructor be used instead of init(), to initialize servlet?
Explain client and server side validation?
Why is it that JComponent have add() and remove() methods but Component doesn’t?
What is expression language injection?
What is the default value of session attribute in jsp?
What is welcome file list?
What are the advantages of jstl?