Why transient variables wont participate in serialization?
Answers were Sorted based on User's Feedback
Answer / krishna
transient variables allocates memory inside the object
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / shrinu nallavelli
transient means not to serialize.. whenever we declare a
variable as trancient it won't send the original value ,only
sends the default value..
purpose of this is to meet the security constraints...
| Is This Answer Correct ? | 0 Yes | 3 No |
Explain the difference between runnable and callable interface in java?
What are accessor methods in java?
Why can we not override static method?
What are the basic control structures?
What are Advatages of Overloading and Overridding.
what are upcasting and downcasting?
What are the different types of multitasking?
What is the role of the java.rmi.naming class?
What is difference between “==” and equals()?
What is data member in java?
what is the difference between future and callable interface in java?
What are the differences between abstract class and interface?