Why we need to serialize the object

Answer Posted / sreenivasulu

if you don't serialize and send ur data over the network
there may be loss of data.
say for example if you declare your variable as a transient
and sent over network you will loose the data.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of static methods and static variables?

762


How big is a boolean?

806


What is gc()?

754


What is a null check?

758


What is the difference between a method and a function in alice?

817


What is the difference between JDK and JVM?

871


Is array primitive data type in java?

758


What is meant by structural programming?

795


Can I declare a class as private?

829


What is quick sort in java?

788


What is the purpose of skeleton and stub?

822


What’s a deadlock?

852


What is the concatenation operator in java?

822


How do you compare objects in java?

703


What is command line argument

945