Answer Posted / lakshmidontukurthy
Trying to put a non-serializable variable in a
seriealisible class,we can use transient modifier ,so that
the jvm skips the transient variable ,and make that class
as serializable class
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What do you mean by inner class in java?
What are the skills required for core java?
Is stringwriter thread safe?
What is better- service oriented or batch oriented solutions?
What happens when I use / and % with a negative numerator?
Which data type is class in java?
Explain constructors and types of constructors in java.
What is the Concept of Encapsulation in OOPS
Explain the Propertie sof class?
What is the difference between variable declaration and variable initialization?
How do you check if a number is a perfect square?
How do you break a loop?
Why main method is static in java?
How will you get the platform dependent values like line separator, path separator, etc., ?
Compare overloading and overriding?