In Serialization, whether you will use Static variables?
Answers were Sorted based on User's Feedback
Answer / chandramouli
We cannot serialize the static variables because static is
specific to the class not for the objects.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
why not override thread to make a runnable? : Java thread
What is temp in java?
Is java still necessary?
What do you mean by formatting?
Difference between overriding and overloading in java?
Does java map allow duplicates?
What is Ideal Design of Class?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is skeleton and stub? What is the purpose of those?
How to make a class or a bean serializable?
What is the benefit of inner classes in java?
How can we make copy of a java object?