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 is multithreading in java?
How many characters is 16 bytes?
What is a method in java?
What is abstract class? Explain
What is the advantage of functional interface in java 8?
Explain the inheritance?
Difference between final and effectively final ? Why is effectively final even required ?
how to write a program for sending mails between client and server
Can we create our own wrapper class in java?
What is the significance of listiterator?
What are anonymous inner classes?
What is array initialization in java?
What are the important features of Java 8 release?
What is a get method?
Can list be null in java?