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 major difference between linkedlist and arraylist?

506


How to use string tokenizer class.

618


What is the implementation of destroy method in java. Is it native or java code?

482


if u open login & logout ,how can udisplay the timelogin & logout members ?

1754


Is integer immutable in java?

549






How does class forname work in java?

480


How is it possible for two string objects with identical values not to be equal under the == operator?

528


How do you execute a thread in java?

503


What is difference between fail-fast and fail-safe?

584


Describe string intern() methodology

592


How we can execute any code even before main method?

551


What’s meant by anonymous class?

596


What is the most important feature of java? What is an interface?

518


How to check if a list is sorted in java?

586


Give an example of call be reference significance.

607