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
Can you override private or static method in java?
What classes of exceptions may be thrown by a throw statement?
When should we create our own custom exception classes?
What is the use of inner class?
What kind of variables a class can consist of?
What is variable explain?
What is a static method in java?
What is the Concept of Encapsulation in OOPS
What is boolean logic?
Explain hashset and its features?
what is meant wrapper classes?
What is the original name of java?
What is computer compiler?
What is jdbc api?
Is array size fixed in java?