Why transient variables wont participate in serialization?
Answer Posted / 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 |
Post New Answer View All Answers
What is lambda programming?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
Is integer immutable in java?
What is the difference between preemptive scheduling and time slicing in java programming?
How would you format a date in java? I.e. In the ddmmyyy format?
What is initial size of arraylist in java?
Will minecraft java be discontinued?
Can we make main() thread as daemon?
Explain the importance of throwable class and its methods?
What is the purpose of the system class in java?
What is the difference between double and float variables in java?
What are heterogeneous objects?
What is incompatible types in java?
What are inbuilt functions in java?
Describe string intern() methodology