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 |
Is it possible to do method overloading and overriding at a time
what is static import in java? Explain
please send me hr interview questions in it industry
How many digits can a float hold?
Where are local variables stored?
What are the Main functions of Java?
0 Answers Akamai Technologies,
What is t in parametric equations?
Why are global variables used?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
what is the difference between pagecontext and servletcontext?
What are the string methods in java?
write a program to create an vector and listeterator.and value should be enter through keyboard.