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 is the difference between stringbuffer and stringbuilder class?
What is an object class?
Which is better list or arraylist in java?
What is hash in java?
Is a char always 1 byte?
What about member inner classes?
What is number data type?
What is java dot?
What are the four corner stones of oop?
Is singleton class thread safe?
What is the return type of the main method?
Define how does a try statement determine which catch clause should be used to handle an exception?
Can I uninstall java?
What is the difference between a local variable and an instance variable?
What is heterogeneous in java?