whats the purposr of using serialization?

Answer Posted / vinayak

in Java if you want to store java object for life time you
need to serialize it by implementing it class be serialiazable
interface.
So that you can access lifetime it it is stored somewhere.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create constructor in abstract class ?

574


What are the methods of object class ?

559


What does system.gc() and runtime.gc() methods do?

598


Why bytecode is called bytecode?

581


What language is pass by reference?

566






What is hashmap in java?

560


Is java 1.7 the same as java 7?

530


Explain how hashmap works?

588


What is ctrl m character?

510


what is session in java?

742


What is difference between identifier and variable?

466


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

511


Is there a sort function in java?

573


What does %4d mean in java?

839


What is multiple inheritance? Is it supported by java?

522