How does serialization work

Answer Posted / sudhakar rao

Serialization is a marker interface to tell the jvm that
the class extending Serializable interface wants to persist
or write its state over the output stream. All the
variables other than transient type can only be persisted.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different ways of creating a thread. Which one would you prefer and why?

579


What is data type in java?

488


What is literal example?

566


Can we instantiate interface in java?

676


What is the statements?

595






What is the core java?

543


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

520


How do you start a new line in java?

523


What are the types of relation?

577


Does java have extension methods?

533


Does java vector allow null?

544


What is the difference between abstract classes and interfaces?

521


What is the flag in java?

612


What data type is a string?

515


Can this keyword be used to refer static members?

551