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

Which collection is best for sorting in java?

876


Why method overriding is used?

753


What exceptions occur during serialization?

825


What are loops in java? What are three types of loops?

769


What is prefix of a string?

779


What is the full meaning of java?

750


Which package is always imported by default?

766


What is a protected class in java?

737


What is empty string literal in java?

766


How can we use primitive data types as objects?

723


Is integer a class?

763


Which class is the superclass of all classes?

812


Why collection doesn’t extend cloneable and serializable interfaces?

856


How do I stop concurrentmodificationexception?

717


Is arraylist ordered?

756