Answer Posted / 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 |
Post New Answer View All Answers
What is immutable class in java?
how does multithreading take place on a computer with a single cpu? : Java thread
Can we have any other return type than void for main method?
How can we pass argument to a function by reference instead of pass by value?
What is oop in java?
What is the difference between the direct buffer and non-direct buffer in java?
What about main() method in java ?
what do you mean by classloader in java?
What is the final variable?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Can a static class have a constructor java?
What is treemap in java?
What's the access scope of protected access specifier?
What happens if I remove static from main method?
What access modifiers can be used for variables?