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 package private scope in java?
What do you mean by compiler?
What is the difference between dom and sax parser in java?
What is void class in java?
What one should take care of, while serializing the object?
What are different types of encoding?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is the final field modifier?
What advantage do java's layout managers provide over traditional windowing systems?
What is the collections api in java programming?
What is difference between fail-fast and fail-safe?
What are heap memory and stack memory and what are memory tables.
What is qualitative variable?
What is passed by reference and pass by value ?
What are the difference between composition and inheritance in java?