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
Which sort is best in java?
how does the run() method in runnable work? : Java thread
What does || || mean in math?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What is the largest number a double can hold?
Explain the significance of listiterator.
what is deadlock? : Java thread
Is arraylist a class in java?
What is the difference between equals() and?
What is null object in java?
What state does a thread enter when it terminates its processing in java programming?
What is string in java with example?
What is java and their uses?
What is the public method modifier?
What is a numeric literal?