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 |
What is preparedstatement in java?
Is oracle java 11 free?
What is the program compilation process?
Give me an example of array and linked list? Where they can be used?
What is the static block?
What is the final keyword in java?
What are streams?
What is the difference between panel and frame ?
7 Answers HCL, IBM, Raim Techno Solutions,
What is Collection interface?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Distinguish method overloading and overriding
List the interfaces which extends collection interface?