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
What is the static variable?
Can we force garbage collector to run ?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Can classes declared using the abstract keyword cab be instantiated?
What is javac_g?
List the three steps for creating an object for a class?
What is the difference between compile-time polymorphism and runtime polymorphism?
Explain about field hiding in java?
Is main a keyword in java?
Is hashmap thread safe?
What exactly is java?
Why are lists ordered in java?
How do you override a variable in java?
Why generics are used in java?
What is Gang of four design patterns