How to prevent a field from serialization ?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
To prevent a field from being serialized, we have to mark it
with the "transient" keyword
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
by declaring the varable transient
Is This Answer Correct ? | 9 Yes | 0 No |
Explain the difference between arraylist and linkedlist in java?
What are java packages? What's the significance of packages?
In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?
JVM responsibility?
What is appletviewer?
Can an abstract class be a final class?
What is method in research paper?
I need to know about complete topic in java's collections i with an examples
How to find the index of the largest number in an arraylist java?
What is array in java?
How destructors are defined in java?
What is the difference between superclass and subclass?