whats the purposr of using serialization?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / paletipatisrinu
serialization is the process of save ing the state of the
object in to file or secondary storage device.The main
purpose serialization we can send the data one layer to
another layer.its converts java notation object to network
notation object.if we are working with serialization ur
class must implemented serializible interface
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / niltarlekar
object can pass in network from one place to other
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / rameshreddy.k
by using serialization we can pass some amout of data from
network to another network or one layer to another layer ..
and also we want use object with running JVM by use
serialization consept we can use it
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / ajay yadav
To store the current object to the persistent storage
location.
Is This Answer Correct ? | 0 Yes | 1 No |
How are commas used in the initialization and iteration parts of a for statement?
What’s the difference between the methods sleep() and wait()?
Which is the best sorting technique in java?
What is complexity and its types?
what is Hashmap & Hashtable wirh example?
what are class,constructor and primitive data types?
What is difference between final and finally in java?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
Can we able to pass objects as an arguments in java?
What is the minimum and maximum length of an identifier?
What is super keyword explain with example?
Why to use nested classes in java?