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 |
C and C++ has constructors and distructors, why does Java does not have distructors?
What's the difference between comparison done by equals method and == operator?
What is the purpose of checked and unchecked exceptions in JAVA?
Why string is not a wrapper class?
Is delete, next, main, exit or null keyword in java?
Explain about doubly linked list
0 Answers Aditi Placement Service,
When finally clause is executed?
What is return null in java?
How 'java' got its name and what it stands for?
What is an immutable class?
what is object slice?
What is the functionality of the stub?