In Serialization, whether you will use Static variables?
Answer Posted / 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 |
Post New Answer View All Answers
What is stack example?
Does constructor be static?
Explain numeric promotion?
What is int lol?
What is string literal in java?
Give me an example of array and linked list? Where they can be used?
Can we serialize arraylist in java?
How we can declare a static variable?
Why map is used in java?
What is difference between c++ and java ?
Explain what do you mean by functional overloading in java?
Can we compare two strings in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Is 0 a real number?
Why do we need data serialization?