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 data type is class in java?
What is the use of accept () method in java?
Is array dynamic in java?
What is identifier with example?
Is java ee a framework?
What is the byte range?
How is the marker interface used in Java?
which class is the wait() method defined in? : Java thread
Why there is no call by reference in java?
Where is singleton pattern used?
Where are the card layouts used?
What is methods and methodology?
What is a variable and constant?
How do you clear a list in java?
Tell me are there implementations for sorting and searching in the java libarary?