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 happens if an exception is throws from an object's destructor?
Explain about features of local inner class?
'A class is a template for an object' explain this statement.
Write a program based on Java script program.
What is the difference between logical data independence and physical data independence?
Can we sort hashmap in java?
What is a class object?
Is arraylist ordered in java?
Where is java located?
Define reflection.
Why char array is favored over string for the storage of passwords?
What does system.gc() and runtime.gc() methods do?
What are the differences between c++ and java?
Is java util regex pattern thread safe?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?