Explain the term serialization?

Answer Posted / mohan

The process of saving the state of the object in the byte
stream and send it over the network.. it is really useful in
cases like if u want to transfer object state over the
network..and at the receiving end we can deserialize it and
restore the object state .. but here u need to explicitly
type cast into desired object..

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What lambda means?

762


What is array size in java?

710


What is the purpose of declaring a variable as final?

729


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1276


If you do not want your class to be inherited by any other class. What would you do?

781


How do you escape sequences in java?

809


Can private class be inherited in java?

802


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

864


Can a class be private?

703


What are runtime exceptions?

895


Can a constructor call another constructor?

763


What is JFC?

901


Which package is used for pattern matching with regular expressions?

853


Can we override data members in java?

886


What is the argument in java?

695