In Serialization, whether you will use Static variables?
Answer Posted / ranganathkini
Static variables are not serialized during object serialization.
If u want to serialize static fields, then u must use ur own
serialization overrides and implement the
java.io.Externalizable interface on the class.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What does business logic mean?
Why a dead thread occurs?
What is module in oop?
What is a buffer in computer?
What is entry set in java?
How to sort array of 0 and 1 in java?
Can we use synchronized block for primitives?
Does anyone still use java?
What is garbage collector?
What are the two types of java?
what is the significance of listiterator in java?
Why java is called not pure object oriented language?
What is the difference between stringbuffer and stringbuilder class?
What are the types of relation?
What do you mean by boolean?