Why we need to serialize the object
Answer Posted / balaji
when ever an object's state needs to be saved to retrieve it
after some time we need to serialize the object.
Serialization is the process of writing the state of an object
to the stream.
The state of an object will be available in instance variables.
Is This Answer Correct ? | 27 Yes | 7 No |
Post New Answer View All Answers
What does @override mean?
Why do we need wrapper class?
What is the functionality of the stub?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
Will set allow duplicates in java?
What is array sorting in java?
What is the purpose of using javap?
Is space a char?
Which sorting is best in java?
How will you reverse a singly-link list?
What is the meaning of variables in research?
What is the meaning of nullable?
what is singleton class in java?
I want to print “hello” even before main is executed. How will you acheive that?
List down the methods and interfaces of collection class in java.